Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,8 +51,8 @@ def predict(image_path):
|
|
| 51 |
iface = gr.Interface(
|
| 52 |
fn=predict,
|
| 53 |
inputs=gr.Image(type="filepath"),
|
| 54 |
-
outputs=gr.
|
| 55 |
-
live=False
|
| 56 |
)
|
| 57 |
|
|
|
|
| 58 |
iface.launch()
|
|
|
|
| 51 |
iface = gr.Interface(
|
| 52 |
fn=predict,
|
| 53 |
inputs=gr.Image(type="filepath"),
|
| 54 |
+
outputs=gr.Label(), # just returns a string like "Real"
|
|
|
|
| 55 |
)
|
| 56 |
|
| 57 |
+
|
| 58 |
iface.launch()
|