Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 208 |
-
|
| 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)
|
|
|