Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,14 +14,9 @@ description = "A skin lesion classifier trained on the ISIC2019 dataset with fas
|
|
| 14 |
article="<p style='text-align: center'><a href='https://challenge.isic-archive.com/data/' target='_blank'>Link to ISIC Dataset</a></p>"
|
| 15 |
interpretation='default'
|
| 16 |
enable_queue=True
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
-
gr.Interface(
|
| 20 |
-
fn=predict
|
| 21 |
-
,inputs=gr.inputs.Image(shape=(512, 512))
|
| 22 |
-
,outputs=gr.outputs.Label(num_top_classes=3)
|
| 23 |
-
,examples=['img1.jpg','img2.jpg','img3.jpg']
|
| 24 |
-
,title=title,description=description,article=article,examples=['img1.jpg','img2.jpg','img3.jpg'],interpretation=interpretation,enable_queue=enable_queue).launch()
|
| 25 |
|
| 26 |
|
| 27 |
|
|
|
|
| 14 |
article="<p style='text-align: center'><a href='https://challenge.isic-archive.com/data/' target='_blank'>Link to ISIC Dataset</a></p>"
|
| 15 |
interpretation='default'
|
| 16 |
enable_queue=True
|
| 17 |
+
examples = examples=['img1.jpg','img2.jpg','img3.jpg']
|
| 18 |
|
| 19 |
+
gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
|