Spaces:
Runtime error
Runtime error
app.py
CHANGED
|
@@ -17,7 +17,7 @@ import os
|
|
| 17 |
import json
|
| 18 |
from loguru import logger
|
| 19 |
from gradio.utils import get_space
|
| 20 |
-
from agent import team_agent
|
| 21 |
import spaces
|
| 22 |
|
| 23 |
|
|
@@ -77,9 +77,6 @@ async def response(
|
|
| 77 |
yield AdditionalOutputs(chatbot)
|
| 78 |
|
| 79 |
logger.debug("π§ Running agent...")
|
| 80 |
-
# history_messages_ = "\n".join(
|
| 81 |
-
# f"{d['role'].capitalize()}: {d['content']}" for d in history_messages
|
| 82 |
-
# )
|
| 83 |
|
| 84 |
result = await run_team_task(team_agent, transcript)
|
| 85 |
|
|
|
|
| 17 |
import json
|
| 18 |
from loguru import logger
|
| 19 |
from gradio.utils import get_space
|
| 20 |
+
from agent import team_agent, run_team_task
|
| 21 |
import spaces
|
| 22 |
|
| 23 |
|
|
|
|
| 77 |
yield AdditionalOutputs(chatbot)
|
| 78 |
|
| 79 |
logger.debug("π§ Running agent...")
|
|
|
|
|
|
|
|
|
|
| 80 |
|
| 81 |
result = await run_team_task(team_agent, transcript)
|
| 82 |
|