Update app.py
Browse files
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]:
|