Commit
·
1d95843
1
Parent(s):
c2c9755
add fn
Browse files
app.py
CHANGED
|
@@ -449,7 +449,17 @@ with gr.Blocks() as demo:
|
|
| 449 |
"HLS.L30.T18TVL.2018141T154435.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif",
|
| 450 |
"HLS.L30.T18TVL.2018189T154446.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"]],
|
| 451 |
inputs=inp_files,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 452 |
preprocess=preprocess_example,
|
|
|
|
| 453 |
cache_examples=True,
|
| 454 |
)
|
| 455 |
|
|
|
|
| 449 |
"HLS.L30.T18TVL.2018141T154435.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif",
|
| 450 |
"HLS.L30.T18TVL.2018189T154446.v2.0.B02.B03.B04.B05.B06.B07_cropped.tif"]],
|
| 451 |
inputs=inp_files,
|
| 452 |
+
outputs=[out1_orig_t1,
|
| 453 |
+
out2_orig_t2,
|
| 454 |
+
out3_orig_t3,
|
| 455 |
+
out4_masked_t1,
|
| 456 |
+
out5_masked_t2,
|
| 457 |
+
out6_masked_t3,
|
| 458 |
+
out7_pred_t1,
|
| 459 |
+
out8_pred_t2,
|
| 460 |
+
out9_pred_t3]
|
| 461 |
preprocess=preprocess_example,
|
| 462 |
+
fn=func,
|
| 463 |
cache_examples=True,
|
| 464 |
)
|
| 465 |
|