Spaces:
Running
Running
fix
Browse files- app.py +1 -1
- requirements.txt +4 -1
app.py
CHANGED
@@ -206,7 +206,7 @@ def _stream_chat_response(history: list, system_prompt: str, transcript: str = N
|
|
206 |
# Don't do anything if there's no history and no transcript
|
207 |
return
|
208 |
|
209 |
-
if transcript.startswith("Error"):
|
210 |
return
|
211 |
# Include transcript as first user message if provided, but don't display it
|
212 |
messages = [{"role": "system", "content": system_prompt}]
|
|
|
206 |
# Don't do anything if there's no history and no transcript
|
207 |
return
|
208 |
|
209 |
+
if transcript and transcript.startswith("Error"):
|
210 |
return
|
211 |
# Include transcript as first user message if provided, but don't display it
|
212 |
messages = [{"role": "system", "content": system_prompt}]
|
requirements.txt
CHANGED
@@ -3,4 +3,7 @@ gradio-client>=1.10.3
|
|
3 |
modal>=1.0.3
|
4 |
openai>=1.86.0
|
5 |
python-dotenv>=1.1.0
|
6 |
-
yt-dlp>=2025.6.9
|
|
|
|
|
|
|
|
3 |
modal>=1.0.3
|
4 |
openai>=1.86.0
|
5 |
python-dotenv>=1.1.0
|
6 |
+
yt-dlp>=2025.6.9
|
7 |
+
tavily-python>=0.3.3
|
8 |
+
anthropic>=0.25.0
|
9 |
+
mcp>=0.0.1
|