bergr7f commited on
Commit
61f7c6a
·
verified ·
1 Parent(s): 216a8bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
 
13
- llm = InferenceClient('microsoft/phi-4')
14
 
15
  @tool
16
  def write_image_spec(pointers: str)-> str: #it's import to specify the return type
@@ -74,7 +74,7 @@ with open("prompts.yaml", 'r') as stream:
74
 
75
  agent = CodeAgent(
76
  model=model,
77
- tools=[final_answer, write_image_spec], ## add your tools here (don't remove final answer)
78
  max_steps=6,
79
  verbosity_level=1,
80
  grammar=None,
 
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
 
13
+ llm = InferenceClient('Qwen/Qwen2.5-0.5B-Instruct')
14
 
15
  @tool
16
  def write_image_spec(pointers: str)-> str: #it's import to specify the return type
 
74
 
75
  agent = CodeAgent(
76
  model=model,
77
+ tools=[final_answer, write_image_spec, image_generation_tool],
78
  max_steps=6,
79
  verbosity_level=1,
80
  grammar=None,