luke9705 commited on
Commit
5bfed61
·
1 Parent(s): 5215882

Update agent model in Agent class to 'meta-llama/Llama-3.3-70B-Instruct'

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def generate_audio(prompt: str) -> object:
157
  ## agent definition
158
  class Agent:
159
  def __init__(self, ):
160
- client = HfApiModel("Qwen/Qwen3-32B", provider="nebius", api_key=os.getenv("NEBIUS_API_KEY"))
161
  self.agent = CodeAgent(
162
  model=client,
163
  tools=[DuckDuckGoSearchTool(max_results=5), VisitWebpageTool(max_output_length=20000), generate_image, download_images, transcribe_audio],
 
157
  ## agent definition
158
  class Agent:
159
  def __init__(self, ):
160
+ client = HfApiModel("meta-llama/Llama-3.3-70B-Instruct", provider="nebius", api_key=os.getenv("NEBIUS_API_KEY"))
161
  self.agent = CodeAgent(
162
  model=client,
163
  tools=[DuckDuckGoSearchTool(max_results=5), VisitWebpageTool(max_output_length=20000), generate_image, download_images, transcribe_audio],