Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,9 @@ def predict(image_path): # receives filepath from gr.Image(type="filepath")
|
|
37 |
iface = gr.Interface(
|
38 |
fn=predict,
|
39 |
inputs=gr.Image(type="filepath", label="image_path"),
|
40 |
-
outputs=gr.
|
41 |
allow_flagging="never"
|
42 |
)
|
43 |
|
|
|
44 |
iface.launch()
|
|
|
37 |
iface = gr.Interface(
|
38 |
fn=predict,
|
39 |
inputs=gr.Image(type="filepath", label="image_path"),
|
40 |
+
outputs=gr.Text(label="output"), # <-- FIXED HERE
|
41 |
allow_flagging="never"
|
42 |
)
|
43 |
|
44 |
+
|
45 |
iface.launch()
|