jeevzz commited on
Commit
b2932a3
·
verified ·
1 Parent(s): b306d32

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -18,4 +18,5 @@ EXPOSE 7860
18
 
19
  # Run app
20
  # Note: Since main.py is in the root on HF Spaces, we use "main:app" instead of "backend.main:app"
21
- CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
18
 
19
  # Run app
20
  # Note: Since main.py is in the root on HF Spaces, we use "main:app" instead of "backend.main:app"
21
+ # Added --loop asyncio to fix edge-tts issues
22
+ CMD ["uv", "run", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--loop", "asyncio"]