dwb2023 commited on
Commit
427de89
·
1 Parent(s): cc1fcd5

update dependencies to assist with streamlit dataset dev

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +3 -1
app.py CHANGED
@@ -87,11 +87,11 @@ class GradioUIWithExamples(GradioUI):
87
  demo = self.build_interface()
88
  demo.launch()
89
 
90
- model = HfApiModel()
91
  agent = CodeAgent(
92
  tools=[],
93
  model=model,
94
- additional_authorized_imports=["gradio","pandas","numpy"],
95
  add_base_tools=True
96
  )
97
 
 
87
  demo = self.build_interface()
88
  demo.launch()
89
 
90
+ model = HfApiModel(model_id='deepseek-ai/DeepSeek-R1-Distill-Qwen-32B', token=HF_TOKEN)
91
  agent = CodeAgent(
92
  tools=[],
93
  model=model,
94
+ additional_authorized_imports=["gradio","pandas","numpy","datasets","duckdb","json"],
95
  add_base_tools=True
96
  )
97
 
requirements.txt CHANGED
@@ -2,8 +2,10 @@ smolagents
2
  gradio
3
  pandas
4
  numpy
 
 
5
  arize-otel
6
  arize-phoenix
7
  opentelemetry-sdk
8
  opentelemetry-exporter-otlp
9
- openinference-instrumentation-smolagents
 
2
  gradio
3
  pandas
4
  numpy
5
+ datasets
6
+ duckdb
7
  arize-otel
8
  arize-phoenix
9
  opentelemetry-sdk
10
  opentelemetry-exporter-otlp
11
+ openinference-instrumentation-smolagents