Spaces:
Sleeping
Sleeping
Commit
Β·
8401849
1
Parent(s):
8558a87
Gradio Visual Improvement
Browse files
app.py
CHANGED
@@ -134,7 +134,14 @@ if __name__ == "__main__":
|
|
134 |
with gr.Blocks() as demo:
|
135 |
gr.Markdown("# Saliency Maps with the MERIT Dataset πππ")
|
136 |
|
137 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
|
139 |
with gr.Tab("Introduction"):
|
140 |
gr.Markdown(
|
@@ -151,13 +158,6 @@ if __name__ == "__main__":
|
|
151 |
"""
|
152 |
)
|
153 |
|
154 |
-
# gr.Image(
|
155 |
-
# value=GIF_PATH,
|
156 |
-
# label="Dataset samples you can process",
|
157 |
-
# width=800,
|
158 |
-
# height=600,
|
159 |
-
# )
|
160 |
-
|
161 |
with gr.Tab("Try It Yourself"):
|
162 |
gr.Markdown(
|
163 |
"Select a model and an image from the dataset, or upload your own image."
|
|
|
134 |
with gr.Blocks() as demo:
|
135 |
gr.Markdown("# Saliency Maps with the MERIT Dataset πππ")
|
136 |
|
137 |
+
with gr.Column(scale=2, min_width=600):
|
138 |
+
gr.Image(value=README_IMAGE_PATH, height=400, fit="scale-down")
|
139 |
+
gr.Image(
|
140 |
+
value=GIF_PATH,
|
141 |
+
label="Dataset samples you can process",
|
142 |
+
height=400,
|
143 |
+
fit="scale-down",
|
144 |
+
)
|
145 |
|
146 |
with gr.Tab("Introduction"):
|
147 |
gr.Markdown(
|
|
|
158 |
"""
|
159 |
)
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
with gr.Tab("Try It Yourself"):
|
162 |
gr.Markdown(
|
163 |
"Select a model and an image from the dataset, or upload your own image."
|