Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
import yaml
|
| 3 |
import skimage
|
| 4 |
import numpy as np
|
|
@@ -93,7 +94,7 @@ def update_dropdown_options(cytof_img, selected_self, selected_other1, selected_
|
|
| 93 |
for opt in unavail_options:
|
| 94 |
updated_choices.remove(opt)
|
| 95 |
|
| 96 |
-
return gr.
|
| 97 |
|
| 98 |
|
| 99 |
def cell_seg(cytof_img, radius):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
print(gr.__version__)
|
| 3 |
import yaml
|
| 4 |
import skimage
|
| 5 |
import numpy as np
|
|
|
|
| 94 |
for opt in unavail_options:
|
| 95 |
updated_choices.remove(opt)
|
| 96 |
|
| 97 |
+
return gr.update(choices=updated_choices+selected_other1, value=selected_other1, multiselect=True), gr.update(choices=updated_choices+selected_other2, value=selected_other2, multiselect=True)
|
| 98 |
|
| 99 |
|
| 100 |
def cell_seg(cytof_img, radius):
|