Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ agent = CodeAgent(
|
|
| 73 |
)
|
| 74 |
|
| 75 |
|
| 76 |
-
|
| 77 |
def chat_with_agent(message: str, history: list) -> str:
|
| 78 |
"""Run the agent for one user message."""
|
| 79 |
return str(agent.run(message))
|
|
|
|
| 73 |
)
|
| 74 |
|
| 75 |
|
| 76 |
+
@spaces.GPU(duration=60)
|
| 77 |
def chat_with_agent(message: str, history: list) -> str:
|
| 78 |
"""Run the agent for one user message."""
|
| 79 |
return str(agent.run(message))
|