abdullahalioo commited on
Commit
3ea2c55
·
verified ·
1 Parent(s): 06df47b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -39,4 +39,9 @@ def stream_audio():
39
  return StreamingResponse(
40
  io.BytesIO(generate_speech_pcm()),
41
  media_type="application/octet-stream"
42
- )
 
 
 
 
 
 
39
  return StreamingResponse(
40
  io.BytesIO(generate_speech_pcm()),
41
  media_type="application/octet-stream"
42
+ )
43
+
44
+ import uvicorn
45
+
46
+ if __name__ == "__main__":
47
+ uvicorn.run(app, host="0.0.0.0", port=7860)