dwb2023 commited on
Commit
b0138e3
·
verified ·
1 Parent(s): 7be47e7

add Bio as import

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExport
11
  from openinference.instrumentation.smolagents import SmolagentsInstrumentor
12
  from openinference.semconv.resource import ResourceAttributes
13
  from opentelemetry.sdk.resources import Resource
14
- import bioservices
15
 
16
  resource = Resource(attributes={
17
  ResourceAttributes.PROJECT_NAME: 'hf-parsimony'
@@ -92,7 +92,7 @@ model = HfApiModel()
92
  agent = CodeAgent(
93
  tools=[],
94
  model=model,
95
- additional_authorized_imports=["gradio","pandas","numpy","bioservices"],
96
  add_base_tools=True
97
  )
98
 
 
11
  from openinference.instrumentation.smolagents import SmolagentsInstrumentor
12
  from openinference.semconv.resource import ResourceAttributes
13
  from opentelemetry.sdk.resources import Resource
14
+ import Bio
15
 
16
  resource = Resource(attributes={
17
  ResourceAttributes.PROJECT_NAME: 'hf-parsimony'
 
92
  agent = CodeAgent(
93
  tools=[],
94
  model=model,
95
+ additional_authorized_imports=["gradio","pandas","numpy","Bio"],
96
  add_base_tools=True
97
  )
98