SadiaK14 commited on
Commit
8f6a22e
·
verified ·
1 Parent(s): c8ba630

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -230,12 +230,13 @@ final_answer = FinalAnswerTool()
230
  model = InferenceClientModel(
231
  model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
232
  temperature=0.5,
233
- max_new_tokens=2096,
234
  )
235
 
236
 
237
 
238
 
 
239
  # Load tool from hub
240
  # image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
241
 
 
230
  model = InferenceClientModel(
231
  model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
232
  temperature=0.5,
233
+ max_output_tokens=2048 # optional, safe alternative
234
  )
235
 
236
 
237
 
238
 
239
+
240
  # Load tool from hub
241
  # image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
242