Spaces:
Sleeping
Sleeping
Commit
·
e3db800
1
Parent(s):
10e5df5
Update main screen
Browse filesCo-authored-by: Pedro Nogueira Coutinho <nogsp@users.noreply.github.com>
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import animation
|
2 |
import bgm
|
|
|
3 |
import narrator
|
4 |
import story
|
5 |
import subtitles
|
@@ -11,8 +12,9 @@ def generate_video(text, auth_openai, auth_elevenlabs, auth_replicate, auth_rev)
|
|
11 |
deforum_str, max_frames = subtitles.audio2subtitle(auth_rev)
|
12 |
generated_animation = animation.story2video(deforum_str, max_frames, auth_replicate)
|
13 |
# generated_music = bgm.text2audio(text=text, duration=20, guidance_scale=5, random_seed=24, n_candidates=3)
|
|
|
14 |
|
15 |
-
return
|
16 |
|
17 |
def download_video(v):
|
18 |
pass
|
|
|
1 |
import animation
|
2 |
import bgm
|
3 |
+
import join
|
4 |
import narrator
|
5 |
import story
|
6 |
import subtitles
|
|
|
12 |
deforum_str, max_frames = subtitles.audio2subtitle(auth_rev)
|
13 |
generated_animation = animation.story2video(deforum_str, max_frames, auth_replicate)
|
14 |
# generated_music = bgm.text2audio(text=text, duration=20, guidance_scale=5, random_seed=24, n_candidates=3)
|
15 |
+
generated_video = join.join_artifacts()
|
16 |
|
17 |
+
return generated_video
|
18 |
|
19 |
def download_video(v):
|
20 |
pass
|