MariaKaiser commited on
Commit
ab25d78
·
verified ·
1 Parent(s): 1f7f064

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -201,9 +201,10 @@ async def process_story(story: StoryCreationDTO):
201
  # output_wav = tts_arabic(text, file_path)
202
  # return FileResponse(output_wav, media_type="audio/wav", filename="output.wav")
203
 
 
 
204
 
205
 
206
-
207
- if __name__ == "__main__":
208
- import uvicorn
209
- uvicorn.run(app, host="0.0.0.0", port=7860)
 
201
  # output_wav = tts_arabic(text, file_path)
202
  # return FileResponse(output_wav, media_type="audio/wav", filename="output.wav")
203
 
204
+ import uvicorn
205
+ uvicorn.run(app, host="0.0.0.0", port=7860)
206
 
207
 
208
+ # if __name__ == "__main__":
209
+ # import uvicorn
210
+ # uvicorn.run(app, host="0.0.0.0", port=7860)