Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,11 +6,14 @@ import pandas as pd
|
|
6 |
from smolagents import HfApiModel, FinalAnswerTool
|
7 |
from smolagents import DuckDuckGoSearchTool, LiteLLMModel, PythonInterpreterTool, CodeAgent, SpeechToTextTool, WikipediaSearchTool, VisitWebpageTool
|
8 |
|
9 |
-
model = HfApiModel(
|
10 |
-
model_id="Qwen/Qwen3-235B-A22B",
|
11 |
-
api_key=os.getenv("HFT") # Ensure this environment variable is set
|
12 |
-
)
|
13 |
-
model = LiteLLMModel(model_id="
|
|
|
|
|
|
|
14 |
|
15 |
|
16 |
# (Keep Constants as is)
|
|
|
6 |
from smolagents import HfApiModel, FinalAnswerTool
|
7 |
from smolagents import DuckDuckGoSearchTool, LiteLLMModel, PythonInterpreterTool, CodeAgent, SpeechToTextTool, WikipediaSearchTool, VisitWebpageTool
|
8 |
|
9 |
+
#model = HfApiModel(
|
10 |
+
# model_id="Qwen/Qwen3-235B-A22B",
|
11 |
+
# api_key=os.getenv("HFT") # Ensure this environment variable is set
|
12 |
+
#)
|
13 |
+
model = LiteLLMModel(model_id="openrouter/deepseek/deepseek-r1-0528:free", api_key="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",max_retries=3)
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
|
18 |
|
19 |
# (Keep Constants as is)
|