Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,14 +66,17 @@ stf_pipeline = STFPipeline()
|
|
| 66 |
driving_video_path=gr.Video(type="filepath")
|
| 67 |
|
| 68 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
###### 테스트중 ######
|
| 79 |
|
|
|
|
| 66 |
driving_video_path=gr.Video(type="filepath")
|
| 67 |
|
| 68 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 69 |
+
with gr.Row():
|
| 70 |
+
stf_button = gr.Button("stf test", variant="primary")
|
| 71 |
+
stf_button.click(
|
| 72 |
+
fn=gpu_wrapped_stf_pipeline_execute,
|
| 73 |
+
inputs=[
|
| 74 |
+
audio_path
|
| 75 |
+
],
|
| 76 |
+
outputs=[driving_video_path]
|
| 77 |
+
)
|
| 78 |
+
with gr.Row():
|
| 79 |
+
driving_video_path.render()
|
| 80 |
|
| 81 |
###### 테스트중 ######
|
| 82 |
|