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