Spaces:
Runtime error
Runtime error
Commit
·
5673fab
1
Parent(s):
c785f0c
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,9 @@ demo_img_files = glob.glob('./distorted/*.[jJ][pP][gG]') + glob.glob('./distorte
|
|
89 |
|
90 |
# Gradio Interface
|
91 |
input_image = gr.inputs.Image()
|
92 |
-
output_image = gr.outputs.Image(type='pil')
|
|
|
|
|
93 |
|
94 |
iface = gr.Interface(fn=rec, inputs=input_image, outputs=output_image, title="DocGeoNet",examples=demo_img_files)
|
95 |
|
|
|
89 |
|
90 |
# Gradio Interface
|
91 |
input_image = gr.inputs.Image()
|
92 |
+
#output_image = gr.outputs.Image(type='pil')
|
93 |
+
output_image = gr.outputs.Image(type='pil', plot=(200, None))
|
94 |
+
|
95 |
|
96 |
iface = gr.Interface(fn=rec, inputs=input_image, outputs=output_image, title="DocGeoNet",examples=demo_img_files)
|
97 |
|