Ferdaws-c commited on
Commit
bf26a00
·
verified ·
1 Parent(s): a3600ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ agent = CodeAgent(
73
  )
74
 
75
 
76
- GradioUI(agent).launch()@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))
 
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))