Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,8 @@ def predict_image(pic):
|
|
| 68 |
iface = gr.Interface(
|
| 69 |
predict_image,
|
| 70 |
[
|
| 71 |
-
gr.inputs.Image(shape=None, image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
|
|
|
|
| 72 |
],
|
| 73 |
|
| 74 |
"text",
|
|
|
|
| 68 |
iface = gr.Interface(
|
| 69 |
predict_image,
|
| 70 |
[
|
| 71 |
+
#gr.inputs.Image(shape=None, image_mode="RGB", invert_colors=False, source="upload", tool="editor", type="numpy", label=None, optional=False)
|
| 72 |
+
gr.inputs.Image(source="upload")
|
| 73 |
],
|
| 74 |
|
| 75 |
"text",
|