Jyothirmai
commited on
Commit
•
2210185
1
Parent(s):
aaf60eb
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,10 @@ sample_images = [
|
|
29 |
with gr.Blocks() as demo:
|
30 |
with gr.Row():
|
31 |
image = gr.Image(label="Upload Chest X-ray")
|
32 |
-
sample_images_gallery = gr.Gallery(
|
|
|
|
|
|
|
33 |
with gr.Row():
|
34 |
model_choice = gr.Radio(["CLIP-GPT2", "ViT-GPT2", "ViT-CoAttention"], label="Select Model")
|
35 |
with gr.Row():
|
|
|
29 |
with gr.Blocks() as demo:
|
30 |
with gr.Row():
|
31 |
image = gr.Image(label="Upload Chest X-ray")
|
32 |
+
sample_images_gallery = gr.Gallery(
|
33 |
+
[load_image(path) for path in sample_images],
|
34 |
+
label="Sample Images",
|
35 |
+
)
|
36 |
with gr.Row():
|
37 |
model_choice = gr.Radio(["CLIP-GPT2", "ViT-GPT2", "ViT-CoAttention"], label="Select Model")
|
38 |
with gr.Row():
|