dwb2023 commited on
Commit
05b70a7
·
verified ·
1 Parent(s): 14341b1

add Bio import to app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,6 +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
 
15
  resource = Resource(attributes={
16
  ResourceAttributes.PROJECT_NAME: 'hf-parsimony'
@@ -87,7 +88,7 @@ model = HfApiModel()
87
  agent = CodeAgent(
88
  tools=[],
89
  model=model,
90
- additional_authorized_imports=["gradio","pandas","numpy"],
91
  add_base_tools=True
92
  )
93
 
 
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
  agent = CodeAgent(
89
  tools=[],
90
  model=model,
91
+ additional_authorized_imports=["gradio","pandas","numpy","Bio"],
92
  add_base_tools=True
93
  )
94