Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -129,12 +129,12 @@ 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(fn=predict,
|
132 |
-
|
133 |
outputs=gr.Image(type="pil"),
|
134 |
title="Image Prediction Interface",
|
135 |
description="Upload a Image for prediction",
|
136 |
-
|
137 |
-
|
138 |
).launch(share=True)
|
139 |
|
140 |
|
|
|
129 |
test12 = os.path.join(os.path.dirname(__file__), "data/test12.jpeg")
|
130 |
|
131 |
gr.Interface(fn=predict,
|
132 |
+
inputs=gr.Image(type="pil"),
|
133 |
outputs=gr.Image(type="pil"),
|
134 |
title="Image Prediction Interface",
|
135 |
description="Upload a Image for prediction",
|
136 |
+
examples=[[test1],[test2],[test3],[test4],[test5],[test6],[test7],[test8],[test9],[test10],[test11],[test12],],
|
137 |
+
cache_examples=True
|
138 |
).launch(share=True)
|
139 |
|
140 |
|