Timjo88 commited on
Commit
f923aab
1 Parent(s): 8800a1f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -12,7 +12,9 @@ def predict(img):
12
  image = gr.inputs.Image(shape=(256,256))
13
  label = gr.outputs.Label()
14
  examples = ['house1.jpg','house2.jpg','house3.jpg','house4.jpg','house5.jpg']
 
 
15
 
16
- intf = gr.Interface(fn=predict, inputs=image, outputs=label, examples=examples)
17
 
18
  intf.launch()
 
12
  image = gr.inputs.Image(shape=(256,256))
13
  label = gr.outputs.Label()
14
  examples = ['house1.jpg','house2.jpg','house3.jpg','house4.jpg','house5.jpg']
15
+ title = "Storm Damaged House Classifier with fast.ai"
16
+ description = "Has your house possibly been damaged by recent storms, use fast.ai to detect damage to your home with this fine-tuned resnet 50 model"
17
 
18
+ intf = gr.Interface(fn=predict, inputs=image, outputs=label, examples=examples,title=title,description=description)
19
 
20
  intf.launch()