Update app.py
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'
|
@@ -88,7 +88,7 @@ model = HfApiModel()
|
|
88 |
agent = CodeAgent(
|
89 |
tools=[],
|
90 |
model=model,
|
91 |
-
additional_authorized_imports=["gradio","pandas","numpy","
|
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 |
|