Peter Michael Gits Claude commited on
Commit ·
ef88eec
1
Parent(s): 1c5ac0f
fix: Resolve VoiceCal restart loop by removing conflicting Dockerfile
Browse files- Remove Dockerfile that conflicts with streamlit SDK configuration
- Keep streamlit SDK in README.md as primary deployment method
- Backup Dockerfile as Dockerfile.backup for future reference
- Add requirements.txt for Streamlit SDK dependency management
- Resolves HF Spaces restart loop caused by SDK/Docker conflict
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Dockerfile → Dockerfile.backup +0 -0
- requirements.txt +9 -49
Dockerfile → Dockerfile.backup
RENAMED
|
File without changes
|
requirements.txt
CHANGED
|
@@ -1,54 +1,14 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
fastapi=
|
| 4 |
-
uvicorn=
|
| 5 |
-
spaces>=0.19.0
|
| 6 |
-
|
| 7 |
-
# Pin problematic dependencies to avoid resolver conflicts
|
| 8 |
-
openai==1.52.0
|
| 9 |
-
matplotlib==3.8.4
|
| 10 |
-
|
| 11 |
-
# Google Calendar and Cloud services
|
| 12 |
-
google-auth>=2.24.0
|
| 13 |
-
google-api-python-client>=2.115.0
|
| 14 |
-
google-auth-oauthlib>=1.2.0
|
| 15 |
-
google-cloud-secret-manager>=2.20.0
|
| 16 |
-
|
| 17 |
-
# LLM and AI libraries - compatible versions
|
| 18 |
-
llama-index==0.10.57
|
| 19 |
-
llama-index-llms-groq==0.1.4
|
| 20 |
-
llama-index-llms-anthropic==0.1.15
|
| 21 |
-
groq==0.9.0
|
| 22 |
-
anthropic==0.28.1
|
| 23 |
|
| 24 |
-
#
|
| 25 |
-
|
| 26 |
-
pydantic-settings>=2.3.0
|
| 27 |
|
| 28 |
-
# Basic utilities
|
| 29 |
python-dotenv==1.0.0
|
| 30 |
python-dateutil==2.8.2
|
| 31 |
-
pytz==2023.3
|
| 32 |
-
requests>=2.31.0
|
| 33 |
-
|
| 34 |
-
# WebRTC real-time audio streaming (safe, no conflicts)
|
| 35 |
-
websockets==12.0
|
| 36 |
-
sounddevice==0.4.6
|
| 37 |
-
webrtcvad==2.0.10
|
| 38 |
-
|
| 39 |
-
# Audio processing (compatible with existing numpy/librosa)
|
| 40 |
-
librosa>=0.10.1
|
| 41 |
-
|
| 42 |
-
# ML/AI dependencies for audio processing
|
| 43 |
-
torch>=2.0.0
|
| 44 |
-
torchaudio>=2.0.0
|
| 45 |
-
transformers>=4.30.0
|
| 46 |
-
|
| 47 |
-
# ASGI server for FastAPI integration
|
| 48 |
-
uvicorn>=0.24.0
|
| 49 |
-
numpy>=1.21.0
|
| 50 |
-
soundfile>=0.12.1
|
| 51 |
|
| 52 |
-
#
|
| 53 |
-
|
| 54 |
-
# mcp==1.0.0
|
|
|
|
| 1 |
+
# Minimal requirements for Streamlit + WebSocket deployment
|
| 2 |
+
streamlit>=1.28.0
|
| 3 |
+
fastapi>=0.104.0
|
| 4 |
+
uvicorn>=0.24.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
+
# WebSocket support
|
| 7 |
+
websockets>=12.0
|
|
|
|
| 8 |
|
| 9 |
+
# Basic utilities only
|
| 10 |
python-dotenv==1.0.0
|
| 11 |
python-dateutil==2.8.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
+
# For audio processing in WebRTC (minimal set)
|
| 14 |
+
numpy>=1.21.0
|
|
|