Zakia commited on
Commit
3771670
1 Parent(s): 05ce8f6

Update app.py - changed syntax of image and label assignment

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ description = "A pediatric pneumonia chest x-ray predictor model trained on the
31
  article = "<p style='text-align: center'><span style='font-size: 15pt;'>Pediatric Pneumonia Chest X-Ray Predictor. Zakia Salod. 2022. </span></p>"
32
 
33
 
34
- image = gr.inputs.Image(shape=(512, 512))
35
- label = gr.outputs.Label()
36
  examples = [
37
  ['person1_virus_6.jpeg'],
38
  ['NORMAL2-IM-0285-0001.jpeg'],
 
31
  article = "<p style='text-align: center'><span style='font-size: 15pt;'>Pediatric Pneumonia Chest X-Ray Predictor. Zakia Salod. 2022. </span></p>"
32
 
33
 
34
+ image = gr.Image(shape=(512, 512))
35
+ label = gr.Label()
36
  examples = [
37
  ['person1_virus_6.jpeg'],
38
  ['NORMAL2-IM-0285-0001.jpeg'],