ashishabraham22 commited on
Commit
6557c72
1 Parent(s): 51fb6c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,4 +7,4 @@ from ml_predict import preprocess_img,predict_defect
7
  image = gr.inputs.Image(shape=(256, 256))
8
  label = gr.outputs.Label(num_top_classes=3)
9
 
10
- gr.Interface(fn=predict_defect, inputs=image, outputs=label, theme='peach',examples=[["images\Cr2.bmp"], ["images\Pa2.bmp"], ["images\scratch1.bmp"], ["images\Pit2.bmp"]]).launch()
 
7
  image = gr.inputs.Image(shape=(256, 256))
8
  label = gr.outputs.Label(num_top_classes=3)
9
 
10
+ gr.Interface(fn=predict_defect, inputs=image, outputs=label, theme='peach',examples=[["images\cr.jpeg"], ["images\Pa1.jpeg"], ["images\rol1.jpeg"], ["images\sc1.jpeg"]]).launch()