Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -406,6 +406,7 @@ async def process_story(story: StoryCreationDTO, background_tasks: BackgroundTas
|
|
| 406 |
|
| 407 |
@app.get("/tts/results/{task_id}")
|
| 408 |
async def get_results(task_id: str):
|
|
|
|
| 409 |
if task_id not in tasks:
|
| 410 |
return {"status": "not_found"}
|
| 411 |
|
|
|
|
| 406 |
|
| 407 |
@app.get("/tts/results/{task_id}")
|
| 408 |
async def get_results(task_id: str):
|
| 409 |
+
print("GET called for task_id:", task_id)
|
| 410 |
if task_id not in tasks:
|
| 411 |
return {"status": "not_found"}
|
| 412 |
|