Pie31415 commited on
Commit
1f54c5f
1 Parent(s): bf108da

updated app

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -143,13 +143,14 @@ with gr.Blocks() as demo:
143
  with gr.Tab("Video Inference"):
144
  video_inputs = [gr.Video(), gr.Image()]
145
  pass
146
-
147
  gr.Examples(
148
  examples=[
149
  ["./examples/lincoln.jpg"],
150
  ["./examples/lincoln.jpg"]
151
  ],
152
  inputs=[source_img, driver_img],
 
153
  fn=image_inference,
154
  cache_examples=True
155
  )
 
143
  with gr.Tab("Video Inference"):
144
  video_inputs = [gr.Video(), gr.Image()]
145
  pass
146
+
147
  gr.Examples(
148
  examples=[
149
  ["./examples/lincoln.jpg"],
150
  ["./examples/lincoln.jpg"]
151
  ],
152
  inputs=[source_img, driver_img],
153
+ outputs=[image_output],
154
  fn=image_inference,
155
  cache_examples=True
156
  )