Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -300,7 +300,7 @@ with gr.Blocks(css=css, head=head) as demo:
|
|
| 300 |
""")
|
| 301 |
|
| 302 |
def on_submit_example(image):
|
| 303 |
-
on_submit(image, None, None, 'vitl', None, None, -1, True)
|
| 304 |
example_files = glob.glob('assets/examples/*')
|
| 305 |
examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[gallery], fn=on_submit_example)
|
| 306 |
|
|
|
|
| 300 |
""")
|
| 301 |
|
| 302 |
def on_submit_example(image):
|
| 303 |
+
return on_submit(image, None, None, 'vitl', None, None, -1, True)
|
| 304 |
example_files = glob.glob('assets/examples/*')
|
| 305 |
examples = gr.Examples(examples=example_files, inputs=[input_image], outputs=[gallery], fn=on_submit_example)
|
| 306 |
|