jatinbittu13 commited on
Commit
3fd1ca0
1 Parent(s): 0481f65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def predict_image(img):
17
 
18
  import gradio as gr
19
 
20
- image = gr.inputs.Image(shape=(100,100))
21
- label = gr.outputs.Label(num_top_classes=5)
22
 
23
  gr.Interface(fn=predict_image, inputs=image, outputs=label,allow_flagging='never',title="Selfie Detection Web-App",description="Upload an image to check if it is a Selfie or not?").launch(debug='True')
 
17
 
18
  import gradio as gr
19
 
20
+ image = gr.inputs.Image(shape=(100,100),label='Image To Classify')
21
+ label = gr.outputs.Label(label='Model thinks your image is')
22
 
23
  gr.Interface(fn=predict_image, inputs=image, outputs=label,allow_flagging='never',title="Selfie Detection Web-App",description="Upload an image to check if it is a Selfie or not?").launch(debug='True')