Update app.py - changed syntax of image and label assignment
Browse files
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.
|
35 |
-
label = gr.
|
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'],
|