R-Kentaren commited on
Commit
8763daa
·
verified ·
1 Parent(s): b71e6e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -315,7 +315,7 @@ After receiving the tool output, you may use another tool or give your final
315
  answer. When you are done, start your final message with `FINAL:`.
316
  """
317
 
318
-
319
  def run_agent(model_id: str, user_text: str, system_prompt: str,
320
  max_tokens: int, temperature: float,
321
  max_iters: int = 4) -> Dict[str, Any]:
 
315
  answer. When you are done, start your final message with `FINAL:`.
316
  """
317
 
318
+ @spaces.GPU
319
  def run_agent(model_id: str, user_text: str, system_prompt: str,
320
  max_tokens: int, temperature: float,
321
  max_iters: int = 4) -> Dict[str, Any]: