Spaces:
Paused
Paused
ranamhamoud
commited on
Commit
โข
d558cef
1
Parent(s):
1e1bdf2
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ def generate(
|
|
103 |
final_story = "".join(outputs)
|
104 |
try:
|
105 |
saved_story = Story(message=message, content=final_story).save()
|
106 |
-
yield f"Story saved with ID: {saved_story.story_id}
|
107 |
except Exception as e:
|
108 |
yield f"Failed to save story: {str(e)}"
|
109 |
|
|
|
103 |
final_story = "".join(outputs)
|
104 |
try:
|
105 |
saved_story = Story(message=message, content=final_story).save()
|
106 |
+
yield f"{final_story}\n\n Story saved with ID: {saved_story.story_id}"
|
107 |
except Exception as e:
|
108 |
yield f"Failed to save story: {str(e)}"
|
109 |
|