Spaces:
Build error
Build error
Anthony-Ml
commited on
Commit
•
6191220
1
Parent(s):
cf5eea4
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,10 @@ article="<p style='text-align: center'><a href='https://www.kaggle.com/datasets/
|
|
18 |
interpretation='default'
|
19 |
enable_queue=True
|
20 |
|
|
|
|
|
|
|
|
|
21 |
gr.Interface(fn=predict_image, inputs=gr.Image(shape=(224,224)),
|
22 |
outputs = gr.Label(num_top_classes=3),title=title,description=description,examples=examples,article=article, interpretation=interpretation,enable_queue=enable_queue).launch(share=False)
|
23 |
|
|
|
18 |
interpretation='default'
|
19 |
enable_queue=True
|
20 |
|
21 |
+
with gr.Blocks() as demo:
|
22 |
+
covid = ['covid/covid_1038.png', 'covid/covid_1034.png', 'covid/cd.png', 'covid/covid_1021.png', 'covid/covid_1027.png', 'covid/covid_1042.png', 'covid/covid_1031.png']
|
23 |
+
gr.Gallery(value=covid, columns=4)
|
24 |
+
|
25 |
gr.Interface(fn=predict_image, inputs=gr.Image(shape=(224,224)),
|
26 |
outputs = gr.Label(num_top_classes=3),title=title,description=description,examples=examples,article=article, interpretation=interpretation,enable_queue=enable_queue).launch(share=False)
|
27 |
|