LittleLirow commited on
Commit
5673360
1 Parent(s): 99500b3

Mock story for testing

Browse files
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 = 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 = "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)