Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -90,12 +90,12 @@ def create_animated_video(script, audio_file):
|
|
90 |
|
91 |
import gradio as gr
|
92 |
|
93 |
-
|
94 |
-
|
95 |
-
def generate_music_and_comedy(theme, script):
|
96 |
# Generate kids music and lyrics
|
97 |
music_file, lyrics = generate_kids_music(theme)
|
98 |
|
|
|
|
|
99 |
# Generate audio from the comedic script
|
100 |
audio_file = generate_audio_from_script(script)
|
101 |
|
|
|
90 |
|
91 |
import gradio as gr
|
92 |
|
93 |
+
def generate_music_and_comedy(theme, prompt):
|
|
|
|
|
94 |
# Generate kids music and lyrics
|
95 |
music_file, lyrics = generate_kids_music(theme)
|
96 |
|
97 |
+
script = generate_comedy_script(prompt)
|
98 |
+
|
99 |
# Generate audio from the comedic script
|
100 |
audio_file = generate_audio_from_script(script)
|
101 |
|