add Bio as import
Browse files
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
|
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","
|
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 |
|