pragnakalp commited on
Commit
c33b64f
1 Parent(s): 1705e20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,7 +43,7 @@ def one_shot(image_in,audio_in,gender):
43
  sound = AudioSegment.from_file(f.name, format="mp3")
44
  sound.export("/content/audio.wav", format="wav")
45
  audio_in="audio.wav"
46
- return calculate(image_in,audio_in)
47
 
48
  def run():
49
  with block:
@@ -54,7 +54,7 @@ def run():
54
  image_in = gr.Image(show_label=False, type="filepath")
55
  audio_in = gr.Audio(show_label=False, type='filepath')
56
  gender = gr.Radio(["Female","Male"],value="Female",label="Gender")
57
- video_out = gr.Video(show_label=False)
58
  with gr.Row().style(equal_height=True):
59
  btn = gr.Button("Generate")
60
 
 
43
  sound = AudioSegment.from_file(f.name, format="mp3")
44
  sound.export("/content/audio.wav", format="wav")
45
  audio_in="audio.wav"
46
+ return audio_in
47
 
48
  def run():
49
  with block:
 
54
  image_in = gr.Image(show_label=False, type="filepath")
55
  audio_in = gr.Audio(show_label=False, type='filepath')
56
  gender = gr.Radio(["Female","Male"],value="Female",label="Gender")
57
+ video_out = gr.Audio(show_label=False)
58
  with gr.Row().style(equal_height=True):
59
  btn = gr.Button("Generate")
60