Paolo-Fraccaro
commited on
Commit
·
d528c1b
1
Parent(s):
9727635
moved wrong row
Browse files
app.py
CHANGED
@@ -199,14 +199,14 @@ with gr.Blocks() as demo:
|
|
199 |
with gr.Column():
|
200 |
inp = gr.File()
|
201 |
btn = gr.Button("Submit")
|
202 |
-
with gr.Row():
|
203 |
-
out1=gr.Image(image_mode='RGB')
|
204 |
-
out2 = gr.Image(image_mode='L')
|
205 |
|
206 |
btn.click(fn=func, inputs=inp, outputs=[out1, out2])
|
207 |
with gr.Row():
|
208 |
gr.Markdown(value='### Input color composite (SWIR, NIRa, Red)')
|
209 |
gr.Markdown(value='### Model prediction (Black: No burn scar; White: Burn scar)')
|
|
|
|
|
|
|
210 |
|
211 |
with gr.Row():
|
212 |
gr.Examples(examples=["subsetted_512x512_HLS.S30.T10TGS.2020245.v1.4_merged.tif",
|
|
|
199 |
with gr.Column():
|
200 |
inp = gr.File()
|
201 |
btn = gr.Button("Submit")
|
|
|
|
|
|
|
202 |
|
203 |
btn.click(fn=func, inputs=inp, outputs=[out1, out2])
|
204 |
with gr.Row():
|
205 |
gr.Markdown(value='### Input color composite (SWIR, NIRa, Red)')
|
206 |
gr.Markdown(value='### Model prediction (Black: No burn scar; White: Burn scar)')
|
207 |
+
with gr.Row():
|
208 |
+
out1=gr.Image(image_mode='RGB')
|
209 |
+
out2 = gr.Image(image_mode='L')
|
210 |
|
211 |
with gr.Row():
|
212 |
gr.Examples(examples=["subsetted_512x512_HLS.S30.T10TGS.2020245.v1.4_merged.tif",
|