Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -548,9 +548,9 @@ async def run_tts_pipeline(task_id: str, story: StoryCreationDTO):
|
|
| 548 |
with open(final_generated_storypath, "rb") as f:
|
| 549 |
file_bytes = f.read()
|
| 550 |
|
| 551 |
-
supabase.storage.
|
| 552 |
storage_path,
|
| 553 |
-
|
| 554 |
)
|
| 555 |
|
| 556 |
# 6️⃣ Get public URL
|
|
|
|
| 548 |
with open(final_generated_storypath, "rb") as f:
|
| 549 |
file_bytes = f.read()
|
| 550 |
|
| 551 |
+
supabase.storage.from_("story-audio-files").upload(
|
| 552 |
storage_path,
|
| 553 |
+
final_generated_storypath
|
| 554 |
)
|
| 555 |
|
| 556 |
# 6️⃣ Get public URL
|