Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ with gr.Blocks() as demo:
|
|
75 |
inp = gr.Image().style(height=800)
|
76 |
out = gr.JSON()
|
77 |
btn = gr.Button("Run")
|
78 |
-
gr.Examples(["example.jpg"],
|
79 |
btn.click(fn=process_document, inputs=inp, outputs=out)
|
80 |
|
81 |
demo.launch()
|
|
|
75 |
inp = gr.Image().style(height=800)
|
76 |
out = gr.JSON()
|
77 |
btn = gr.Button("Run")
|
78 |
+
gr.Examples(["example.jpg"], inputs=[inp])
|
79 |
btn.click(fn=process_document, inputs=inp, outputs=out)
|
80 |
|
81 |
demo.launch()
|