dmitryhits commited on
Commit
3e28d8a
·
1 Parent(s): a6f11ac

changes gradio.inputs and gradio.outputs to gradio.components to silence deprecation warning

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation).launch(enable_queue=enable_queue)
 
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)