Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,10 @@ def infer(original_image):
|
|
24 |
|
25 |
iface = gr.Interface(
|
26 |
fn=infer,
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
24 |
|
25 |
iface = gr.Interface(
|
26 |
fn=infer,
|
27 |
+
inputs=gr.inputs.Image(type="pil"),
|
28 |
+
outputs=gr.outputs.Image(type="pil", label="predicted"),
|
29 |
+
title=title,
|
30 |
+
description=description,
|
31 |
+
examples=examples,
|
32 |
+
enable_queue=True)
|
33 |
+
iface.launch(debug=True)
|