Manasa1 commited on
Commit
be5d3d0
·
verified ·
1 Parent(s): a471d3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -90,12 +90,12 @@ def create_animated_video(script, audio_file):
90
 
91
  import gradio as gr
92
 
93
- import gradio as gr
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