Update app.py
Browse files
app.py
CHANGED
|
@@ -555,20 +555,12 @@ def update_interface(enable_interference):
|
|
| 555 |
}
|
| 556 |
|
| 557 |
with gr.Blocks() as demo:
|
| 558 |
-
gr.Markdown(
|
|
|
|
| 559 |
## Fast Indoor Radio Propagation Prediction using Deep Learning
|
| 560 |
This app uses deep learning models for radio map estimation (RME) with and without interference, simulating 2.4 GHz and 5 GHz bands. RME involves estimating the received RF power based on spatial information maps.
|
| 561 |
-
|
| 562 |
-
|
| 563 |
-
|
| 564 |
-
- A predefined list of indoor floor plans is available for use.
|
| 565 |
-
- You can upload your own indoor floor plan.
|
| 566 |
-
- Negative numbers are not allowed.
|
| 567 |
-
- The established format for the coordinates of each access point (AP) must be followed.
|
| 568 |
-
- A maximum of 2 APs per channel is allowed for the interference case.
|
| 569 |
-
- A maximum of 5 APs is allowed for the non-interference case.
|
| 570 |
-
- The uploaded plan must meet the dimensions [256,256,3], with free spaces as white pixels and walls as black pixels.
|
| 571 |
-
""")
|
| 572 |
|
| 573 |
enable_interference = gr.Checkbox(label="Enable Interference Analysis", value=True)
|
| 574 |
|
|
@@ -627,4 +619,18 @@ with gr.Blocks() as demo:
|
|
| 627 |
coords_ch1_input, coords_ch6_input, coords_ch11_input],
|
| 628 |
outputs=[image_ch1, image_ch6, image_ch11, image_ap1, image_ap2, image_cover_final, image_cells])
|
| 629 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 630 |
demo.launch()
|
|
|
|
| 555 |
}
|
| 556 |
|
| 557 |
with gr.Blocks() as demo:
|
| 558 |
+
gr.Markdown(
|
| 559 |
+
"""
|
| 560 |
## Fast Indoor Radio Propagation Prediction using Deep Learning
|
| 561 |
This app uses deep learning models for radio map estimation (RME) with and without interference, simulating 2.4 GHz and 5 GHz bands. RME involves estimating the received RF power based on spatial information maps.
|
| 562 |
+
"""
|
| 563 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 564 |
|
| 565 |
enable_interference = gr.Checkbox(label="Enable Interference Analysis", value=True)
|
| 566 |
|
|
|
|
| 619 |
coords_ch1_input, coords_ch6_input, coords_ch11_input],
|
| 620 |
outputs=[image_ch1, image_ch6, image_ch11, image_ap1, image_ap2, image_cover_final, image_cells])
|
| 621 |
|
| 622 |
+
gr.Markdown(
|
| 623 |
+
"""
|
| 624 |
+
Instructions for use:
|
| 625 |
+
|
| 626 |
+
- A predefined list of indoor floor plans is available for use.
|
| 627 |
+
- You can upload your own indoor floor plan.
|
| 628 |
+
- Negative numbers are not allowed.
|
| 629 |
+
- The established format for the coordinates of each access point (AP) must be followed.
|
| 630 |
+
- A maximum of 2 APs per channel is allowed for the interference case.
|
| 631 |
+
- A maximum of 5 APs is allowed for the non-interference case.
|
| 632 |
+
- The uploaded plan must meet the dimensions [256,256,3], with free spaces as white pixels and walls as black pixels.
|
| 633 |
+
"""
|
| 634 |
+
)
|
| 635 |
+
|
| 636 |
demo.launch()
|