tusharagarwal3 commited on
Commit
26de3b5
1 Parent(s): c452031

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -19,6 +19,10 @@ def classify(im):
19
 
20
  import gradio as gr
21
 
22
- interface = gr.Interface(fn=classify, inputs=gr.Image(shape=(224, 224)), outputs="text")
 
 
 
 
23
 
24
- interface.launch(debug=True, share=False)
 
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)