Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -441,7 +441,7 @@ async def process_story(story: StoryCreationDTO, background_tasks: BackgroundTas
|
|
| 441 |
|
| 442 |
#-----------------------Results Get End Point ______________________________________
|
| 443 |
|
| 444 |
-
@app.get("/results/{task_id}")
|
| 445 |
async def get_results(task_id: str):
|
| 446 |
|
| 447 |
if task_id not in tasks:
|
|
|
|
| 441 |
|
| 442 |
#-----------------------Results Get End Point ______________________________________
|
| 443 |
|
| 444 |
+
@app.get("/tts/results/{task_id}")
|
| 445 |
async def get_results(task_id: str):
|
| 446 |
|
| 447 |
if task_id not in tasks:
|