Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -197,6 +197,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 197 |
with gr.Row():
|
| 198 |
output_audio = gr.Audio(label="Generated audio", type="filepath")
|
| 199 |
with gr.Row():
|
|
|
|
| 200 |
video_gen_button = gr.Button("Audio to Video generation", variant="primary")
|
| 201 |
with gr.Row():
|
| 202 |
a2v_output = gr.Video()
|
|
@@ -305,7 +306,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 305 |
video_gen_button.click(
|
| 306 |
fn=gpu_wrapped_stf_pipeline_execute,
|
| 307 |
inputs=[
|
| 308 |
-
output_audio
|
|
|
|
| 309 |
],
|
| 310 |
outputs=[a2v_output],
|
| 311 |
show_progress=True
|
|
|
|
| 197 |
with gr.Row():
|
| 198 |
output_audio = gr.Audio(label="Generated audio", type="filepath")
|
| 199 |
with gr.Row():
|
| 200 |
+
audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
|
| 201 |
video_gen_button = gr.Button("Audio to Video generation", variant="primary")
|
| 202 |
with gr.Row():
|
| 203 |
a2v_output = gr.Video()
|
|
|
|
| 306 |
video_gen_button.click(
|
| 307 |
fn=gpu_wrapped_stf_pipeline_execute,
|
| 308 |
inputs=[
|
| 309 |
+
#output_audio
|
| 310 |
+
audio_path_component
|
| 311 |
],
|
| 312 |
outputs=[a2v_output],
|
| 313 |
show_progress=True
|