Spaces:
Running
Running
dmitryhits commited on
Commit ·
3e28d8a
1
Parent(s): a6f11ac
changes gradio.inputs and gradio.outputs to gradio.components to silence deprecation warning
Browse files
app.py
CHANGED
|
@@ -36,4 +36,4 @@ interpretation='default'
|
|
| 36 |
enable_queue=True
|
| 37 |
|
| 38 |
# %% ../weed_classifier.ipynb 7
|
| 39 |
-
gr.Interface(fn=predict,inputs=gr.
|
|
|
|
| 36 |
enable_queue=True
|
| 37 |
|
| 38 |
# %% ../weed_classifier.ipynb 7
|
| 39 |
+
gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.components.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation).launch(enable_queue=enable_queue)
|