Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ def classify_image(img):
|
|
9 |
|
10 |
image = gr.inputs.Image(shape=(192,192))
|
11 |
label = gr.outputs.Label()
|
12 |
-
examples = []
|
13 |
|
14 |
-
iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
15 |
iface.launch(inline=False)
|
|
|
9 |
|
10 |
image = gr.inputs.Image(shape=(192,192))
|
11 |
label = gr.outputs.Label()
|
12 |
+
examples = ["5.png"]
|
13 |
|
14 |
+
#iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
15 |
+
iface = gr.Interface(fn=classify_image, inputs="text", outputs="text")
|
16 |
iface.launch(inline=False)
|