ranamhamoud commited on
Commit
d558cef
โ€ข
1 Parent(s): 1e1bdf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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}\n\n{final_story}"
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