blumenstiel
commited on
Commit
Β·
58a73c7
1
Parent(s):
1350d30
Rename labels
Browse files
app.py
CHANGED
@@ -224,9 +224,9 @@ Some example images are provided at the end of this page.
|
|
224 |
# inp_slider = gr.Slider(0, 100, value=50, label="Mask ratio", info="Choose ratio of masking between 0 and 100", elem_id='slider'),
|
225 |
btn = gr.Button("Submit")
|
226 |
with gr.Row():
|
227 |
-
gr.Markdown(value='##
|
228 |
gr.Markdown(value='## Masked images')
|
229 |
-
gr.Markdown(value='## Reconstructed images
|
230 |
|
231 |
original = []
|
232 |
masked = []
|
@@ -242,6 +242,8 @@ Some example images are provided at the end of this page.
|
|
242 |
masked.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
|
243 |
predicted.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
|
244 |
|
|
|
|
|
245 |
btn.click(fn=run_inference,
|
246 |
inputs=inp_files,
|
247 |
outputs=original + masked + predicted)
|
|
|
224 |
# inp_slider = gr.Slider(0, 100, value=50, label="Mask ratio", info="Choose ratio of masking between 0 and 100", elem_id='slider'),
|
225 |
btn = gr.Button("Submit")
|
226 |
with gr.Row():
|
227 |
+
gr.Markdown(value='## Input time series')
|
228 |
gr.Markdown(value='## Masked images')
|
229 |
+
gr.Markdown(value='## Reconstructed images*')
|
230 |
|
231 |
original = []
|
232 |
masked = []
|
|
|
242 |
masked.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
|
243 |
predicted.append(gr.Image(image_mode='RGB', show_label=False, show_fullscreen_button=False))
|
244 |
|
245 |
+
gr.Markdown(value='* The reconstructed images include the ground truth unmasked patches.')
|
246 |
+
|
247 |
btn.click(fn=run_inference,
|
248 |
inputs=inp_files,
|
249 |
outputs=original + masked + predicted)
|