Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -251,7 +251,7 @@ app = FastAPI()
|
|
251 |
app.mount("/", queue_demo.app) # mount the ASGI app, not the Blocks object itself
|
252 |
|
253 |
# WebSocket TTS endpoint
|
254 |
-
|
255 |
async def websocket_tts(websocket: WebSocket):
|
256 |
await websocket.accept()
|
257 |
try:
|
|
|
251 |
app.mount("/", queue_demo.app) # mount the ASGI app, not the Blocks object itself
|
252 |
|
253 |
# WebSocket TTS endpoint
|
254 |
+
#@app.websocket("/ws/tts")
|
255 |
async def websocket_tts(websocket: WebSocket):
|
256 |
await websocket.accept()
|
257 |
try:
|