Spaces:
Build error
Build error
updated app
Browse files
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=[
|