kevinalexmathews commited on
Commit
e933af2
·
verified ·
1 Parent(s): 1cf7fdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -42,16 +42,10 @@ final_answer = FinalAnswerTool()
42
  model = HfApiModel(
43
  max_tokens=2096,
44
  temperature=0.5,
45
- model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/',
46
  custom_role_conversions=None,
47
  )
48
 
49
- import os
50
- !pip install smolagents[litellm]
51
- from smolagents import LiteLLMModel
52
- model = LiteLLMModel(model_id="meta-llama/Llama-3.2-3B-Instruct")
53
- # os.environ["HF_TOKEN"]="hf_xxxxxxxxxxx"
54
-
55
  # Import tool from Hub
56
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
57
 
 
42
  model = HfApiModel(
43
  max_tokens=2096,
44
  temperature=0.5,
45
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
46
  custom_role_conversions=None,
47
  )
48
 
 
 
 
 
 
 
49
  # Import tool from Hub
50
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
51