joseph6x commited on
Commit
3c11709
·
verified ·
1 Parent(s): c4ed49e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -5
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="gemini-2.0-flash", api_key="AIzaSyBpsU33A_YjENSF8xx91eGCo19jIi7BIIQ",max_retries=3)
 
 
 
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)