Pie31415 commited on
Commit
e9c03b3
1 Parent(s): d581701

updated app

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -217,10 +217,9 @@ with gr.Blocks() as demo:
217
  with gr.Tab("Video Inference"):
218
  with gr.Row():
219
  source_img2 = gr.Image(type="pil", label="Source image", show_label=True)
220
- driver_vid = gr.Video(label="Driver video")
221
  video_output = gr.Image(label="Rendered GIF avatar")
222
  video_button = gr.Button("Predict")
223
- toggle_cam = gr.Button("Toggle Webcam")
224
 
225
  gr.Examples(
226
  examples=[
 
217
  with gr.Tab("Video Inference"):
218
  with gr.Row():
219
  source_img2 = gr.Image(type="pil", label="Source image", show_label=True)
220
+ driver_vid = gr.Video(label="Driver video", source="webcam")
221
  video_output = gr.Image(label="Rendered GIF avatar")
222
  video_button = gr.Button("Predict")
 
223
 
224
  gr.Examples(
225
  examples=[