Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -217,9 +217,9 @@ def get_whisperspeech(prompt_audio_whisperspeech, audio_to_clone):
|
|
217 |
|
218 |
|
219 |
|
220 |
-
def pipe(
|
221 |
try:
|
222 |
-
video = get_talk(
|
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,
|
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 |
|