Spaces:
Paused
Paused
Commit
•
7eb04d1
1
Parent(s):
1eb1713
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
import predict as predict
|
3 |
|
4 |
-
iface = gr.Interface(fn=predict, inputs=gr.inputs.Image(
|
5 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
import predict as predict
|
3 |
|
4 |
+
iface = gr.Interface(fn=predict, inputs=gr.inputs.Image(type='pil'), outputs=gr.outputs.Label(num_top_classes=3))
|
5 |
iface.launch()
|