dwb2023 commited on
Commit
9078dfb
·
verified ·
1 Parent(s): 3e5ddb0

Update app.py

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 Bio
15
 
16
  resource = Resource(attributes={
17
  ResourceAttributes.PROJECT_NAME: 'hf-parsimony'
@@ -88,7 +88,7 @@ model = HfApiModel()
88
  agent = CodeAgent(
89
  tools=[],
90
  model=model,
91
- additional_authorized_imports=["gradio","pandas","numpy","Bio"],
92
  add_base_tools=True
93
  )
94
 
 
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'
 
88
  agent = CodeAgent(
89
  tools=[],
90
  model=model,
91
+ additional_authorized_imports=["gradio","pandas","numpy","bioservices"],
92
  add_base_tools=True
93
  )
94