IrisDeng commited on
Commit
9ebe0a7
·
verified ·
1 Parent(s): f3b2a4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def compose_story_from_caption(caption_detail):
40
  story_text = story_results[0]['generated_text']
41
  if "Story:" in story_text:
42
  story = story_text.split("Story:", 1)[1].strip()
43
- else:
44
  story = story_text.strip()
45
  return story
46
 
 
40
  story_text = story_results[0]['generated_text']
41
  if "Story:" in story_text:
42
  story = story_text.split("Story:", 1)[1].strip()
43
+ else:
44
  story = story_text.strip()
45
  return story
46