Tomtom84 commited on
Commit
8428419
·
verified ·
1 Parent(s): 6ee4394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- @app.websocket("/ws/tts")
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: