Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -128,7 +128,8 @@ test10 = os.path.join(os.path.dirname(__file__), "data/test10.jpeg")
|
|
128 |
test11 = os.path.join(os.path.dirname(__file__), "data/test11.jpeg")
|
129 |
test12 = os.path.join(os.path.dirname(__file__), "data/test12.jpeg")
|
130 |
|
131 |
-
gr.Interface(
|
|
|
132 |
inputs=gr.Image(type="pil"),
|
133 |
outputs=gr.Image(type="pil"),
|
134 |
title="Image Prediction Interface",
|
|
|
128 |
test11 = os.path.join(os.path.dirname(__file__), "data/test11.jpeg")
|
129 |
test12 = os.path.join(os.path.dirname(__file__), "data/test12.jpeg")
|
130 |
|
131 |
+
gr.Interface(
|
132 |
+
fn=predict,
|
133 |
inputs=gr.Image(type="pil"),
|
134 |
outputs=gr.Image(type="pil"),
|
135 |
title="Image Prediction Interface",
|