Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -335,8 +335,8 @@ with gr.Blocks(css="""
|
|
335 |
embeddings_img_bp = gr.Image(label="Embeddings", type="pil", width=300, height=300)
|
336 |
|
337 |
# Update the confusion matrices whenever sliders change
|
338 |
-
data_percentage_slider.change(fn=beam_prediction_task, inputs=[data_percentage_slider,
|
339 |
-
|
340 |
|
341 |
# Separate Tab for LoS/NLoS Classification Task
|
342 |
with gr.Tab("LoS/NLoS Classification Task"):
|
|
|
335 |
embeddings_img_bp = gr.Image(label="Embeddings", type="pil", width=300, height=300)
|
336 |
|
337 |
# Update the confusion matrices whenever sliders change
|
338 |
+
data_percentage_slider.change(fn=beam_prediction_task, inputs=[data_percentage_slider, task_complexity_dropdown], outputs=[raw_img_bp, embeddings_img_bp])
|
339 |
+
task_complexity_dropdown.change(fn=beam_prediction_task, inputs=[data_percentage_slider, task_complexity_dropdown], outputs=[raw_img_bp, embeddings_img_bp])
|
340 |
|
341 |
# Separate Tab for LoS/NLoS Classification Task
|
342 |
with gr.Tab("LoS/NLoS Classification Task"):
|