Spaces:
Build error
Build error
Anthony-Ml
commited on
Commit
•
3f23533
1
Parent(s):
83eb44d
Update app.py
Browse files
app.py
CHANGED
@@ -18,9 +18,9 @@ article="<p style='text-align: center'><a href='https://www.kaggle.com/datasets/
|
|
18 |
interpretation='default'
|
19 |
enable_queue=True
|
20 |
|
21 |
-
with gr.
|
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=
|
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)
|
|
|
18 |
interpretation='default'
|
19 |
enable_queue=True
|
20 |
|
21 |
+
with gr.Row():
|
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=2).style(height="200px", grid=2)
|
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)
|