VinitT commited on
Commit
8fc60be
·
verified ·
1 Parent(s): f7b4728

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -123,14 +123,14 @@ def main():
123
  torch.cuda.empty_cache()
124
  torch.manual_seed(0)
125
 
126
- if all_output_texts:
127
- # Step 5: Generate story
128
- generate_story_button = st.button("Generate Story")
129
-
130
- if generate_story_button:
131
- story = generate_story(all_output_texts)
132
- st.write("Generated Story:")
133
- st.write(story)
134
 
135
  if __name__ == "__main__":
136
  main()
 
123
  torch.cuda.empty_cache()
124
  torch.manual_seed(0)
125
 
126
+ if all_output_texts:
127
+ # Step 5: Generate story
128
+ generate_story_button = st.button("Generate Story")
129
+
130
+ if generate_story_button:
131
+ story = generate_story(all_output_texts)
132
+ st.write("Generated Story:")
133
+ st.write(story)
134
 
135
  if __name__ == "__main__":
136
  main()