yerang commited on
Commit
fa91b46
·
verified ·
1 Parent(s): 2f1724f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -8
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
- stf_button = gr.Button("stf test", variant="primary")
70
- stf_button.click(
71
- fn=gpu_wrapped_stf_pipeline_execute,
72
- inputs=[
73
- audio_path
74
- ],
75
- outputs=[driving_video_path]
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