vignesh584 commited on
Commit
422c876
·
verified ·
1 Parent(s): 67bde76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -217,9 +217,9 @@ def get_whisperspeech(prompt_audio_whisperspeech, audio_to_clone):
217
 
218
 
219
 
220
- def pipe(voice, image_in):
221
  try:
222
- video = get_talk(image_in, voice)
223
  print(f"Generated video: {video}") # Debugging line
224
  return video
225
  except Exception as e:
@@ -461,7 +461,7 @@ with gr.Blocks(css=css) as demo:
461
 
462
  submit_btn.click(
463
  fn=pipe,
464
- inputs=[portrait, preprocess_audio_file],
465
  outputs=[result],
466
  show_api=False
467
 
 
217
 
218
 
219
 
220
+ def pipe(portrait, voice):
221
  try:
222
+ video = get_talk(portrait, voice)
223
  print(f"Generated video: {video}") # Debugging line
224
  return video
225
  except Exception as e:
 
461
 
462
  submit_btn.click(
463
  fn=pipe,
464
+ inputs=[portrait, voice],
465
  outputs=[result],
466
  show_api=False
467