LittleLirow commited on
Commit
f1c473c
1 Parent(s): 5673360

Revert "Mock story for testing"

Browse files

This reverts commit 5673360ecc6e05891b80f0cf4acbb7df2483f3cf.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import subtitles
7
  import gradio as gr
8
 
9
  def generate_video(text, auth_openai, auth_elevenlabs, auth_replicate, auth_rev):
10
- generated_story = "Once upon a time, there was a sample story. The end." # story.text2story(text, auth_openai)
11
  narrator.text2voice(generated_story, "audio_out.mp3", auth_elevenlabs)
12
  deforum_str, max_frames = subtitles.audio2subtitle(auth_rev)
13
  animation.story2video(deforum_str, max_frames, auth_replicate)
 
7
  import gradio as gr
8
 
9
  def generate_video(text, auth_openai, auth_elevenlabs, auth_replicate, auth_rev):
10
+ generated_story = story.text2story(text, auth_openai)
11
  narrator.text2voice(generated_story, "audio_out.mp3", auth_elevenlabs)
12
  deforum_str, max_frames = subtitles.audio2subtitle(auth_rev)
13
  animation.story2video(deforum_str, max_frames, auth_replicate)