Spaces:
Sleeping
Sleeping
LittleLirow
commited on
Commit
•
f1c473c
1
Parent(s):
5673360
Revert "Mock story for testing"
Browse filesThis reverts commit 5673360ecc6e05891b80f0cf4acbb7df2483f3cf.
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 =
|
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)
|