Skip to content

Commit ad1a5a8

Browse files
committed
add correct requirements and libaries
1 parent 70a7e8a commit ad1a5a8

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -221,4 +221,5 @@ temp_output.mp3
221221
conversation_history.txt
222222
conversation_history.json
223223
freeze_requiremenets.txt
224+
freeze_requiremenets.txt.bak
224225
elevenlabs_voices.json

app/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def enhanced_websocket_endpoint(websocket: WebSocket):
430430
# This will raise WebSocketDisconnect when client disconnects
431431
# Process only control messages and heartbeats
432432
data = await websocket.receive()
433-
logging.info(f"Received message from client: {data}")
433+
# logging.info(f"Received message from client: {data}")
434434
# Don't try to parse or process normal text messages
435435
if data["type"] == "websocket.disconnect":
436436
raise WebSocketDisconnect(1000)

requirements.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ torchvision==0.18.1+cu121
66

77
PyAudio==0.2.14
88
numpy==1.26.4
9-
faster-whisper==1.0.2
9+
faster-whisper==1.1.1
1010
soundfile==0.12.1
1111
langid==1.1.6
1212
librosa==0.10.2.post1
@@ -30,5 +30,6 @@ coqui-tts==0.26.0
3030

3131
# WebRTC-specific dependencies
3232
aiortc==1.10.1
33-
av==14.2.0
33+
av==11.0.0
3434
httpx==0.28.1
35+
websockets==15.0.1

requirements_cpu.txt

+5-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ torchvision==0.18.1+cpu
66

77
PyAudio==0.2.14
88
numpy==1.26.4
9-
faster-whisper==1.0.2
9+
faster-whisper==1.1.1
1010
soundfile==0.12.1
1111
langid==1.1.6
1212
librosa==0.10.2.post1
@@ -22,13 +22,14 @@ python-dotenv==1.0.1
2222
requests==2.32.3
2323
fastapi==0.115.11
2424
uvicorn==0.30.1
25-
aiohttp==3.10.11
25+
aiohttp==3.11.14
2626
spacy==3.7.5
2727
spacy-legacy==3.0.12
2828
spacy-loggers==1.0.5
2929
coqui-tts==0.26.0
3030

3131
# WebRTC-specific dependencies
3232
aiortc==1.10.1
33-
av==14.2.0
34-
httpx==0.28.1
33+
av==11.0.0
34+
httpx==0.28.1
35+
websockets==15.0.1

0 commit comments

Comments
 (0)