Commit ·
26de3b5
1
Parent(s): c452031
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,10 @@ def classify(im):
|
|
| 19 |
|
| 20 |
import gradio as gr
|
| 21 |
|
| 22 |
-
interface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
-
interface.launch(debug=True
|
|
|
|
| 19 |
|
| 20 |
import gradio as gr
|
| 21 |
|
| 22 |
+
interface = gr.Interface(
|
| 23 |
+
classify,
|
| 24 |
+
inputs='image',
|
| 25 |
+
outputs='label'
|
| 26 |
+
)
|
| 27 |
|
| 28 |
+
interface.launch(debug=True)
|