Pie31415 commited on
Commit
e7252da
1 Parent(s): bd147be

fixed examples

Browse files
Files changed (2) hide show
  1. app.py +6 -2
  2. examples/log.csv +1 -0
app.py CHANGED
@@ -140,8 +140,12 @@ with gr.Blocks() as demo:
140
  video_inputs = [gr.Video(), gr.Image()]
141
  pass
142
 
143
- image_button.click(image_inference, inputs=image_inputs, outputs=image_output)
144
  title = "ROME: Realistic one-shot mesh-based head avatars"
145
- examples = gr.Examples(["examples/lincoln.jpg", "examples/tars2.jpg"], inputs=image_inputs)
 
 
 
 
 
146
 
147
  demo.launch()
 
140
  video_inputs = [gr.Video(), gr.Image()]
141
  pass
142
 
 
143
  title = "ROME: Realistic one-shot mesh-based head avatars"
144
+ examples = gr.Examples(
145
+ examples="examples/",
146
+ inputs=image_inputs
147
+ )
148
+
149
+ image_button.click(image_inference, inputs=image_inputs, outputs=image_output)
150
 
151
  demo.launch()
examples/log.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ lincoln.jpg, taras2.jpg