Spaces:
Sleeping
Sleeping
Update app.py
Browse files17 unmodified lines1819202122232417 unmodified linesos.environ["HF_API_TOKEN"] = os.getenv("HF_API_TOKEN")os.environ["SERPAPI_API_KEY"] = os.getenv("SERPAPI_API_KEY")os.environ["HUGGINGFACE_API_KEY"] = os.getenv("HUGGINGFACE_API_KEY")model = HfApiModel(model_id="mistralai/Mistral-7B-Instruct-v0.3", api_key=os.getenv("HF_API_TOKEN")) #Qwen/Qwen2.5-Coder-32B-Instruct") #, provider="together")self.agent = CodeAgent(tools=[GoogleSearchTool()], #, PythonREPLTool()],model=model,17 unmodified lines1819202122232417 unmodified linesos.environ["HF_API_TOKEN"] = os.getenv("HF_API_TOKEN")os.environ["SERPAPI_API_KEY"] = os.getenv("SERPAPI_API_KEY")os.environ["HUGGINGFACE_API_KEY"] = os.getenv("HUGGINGFACE_API_KEY")model = HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct", provider="together") #(model_id="mistralai/Mistral-7B-Instruct-v0.3", api_key=os.getenv("HF_API_TOKEN")) #Qwen/Qwen2.5-Coder-32B-Instruct") #, provider="together")self.agent = CodeAgent(tools=[GoogleSearchTool()], #, PythonREPLTool()],model=model,
app.py+1-1