Spaces:
Runtime error
Runtime error
bugfix
Browse files
app.py
CHANGED
@@ -21,6 +21,6 @@ import gradio as gr
|
|
21 |
|
22 |
# %% ../01.ipynb 8
|
23 |
image = gr.inputs.Image(shape=(512, 512))
|
24 |
-
|
25 |
|
26 |
-
gr.Interface(fn=predict, inputs=image, outputs=
|
|
|
21 |
|
22 |
# %% ../01.ipynb 8
|
23 |
image = gr.inputs.Image(shape=(512, 512))
|
24 |
+
outputs = gr.outputs.Label(num_top_classes=3)
|
25 |
|
26 |
+
gr.Interface(fn=predict, inputs=image, outputs=outputs).launch(inline=False)
|