Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -263,7 +263,9 @@ with gr.Blocks(theme=gr.themes.Citrus(), title="MapPFN") as demo:
|
|
| 263 |
)
|
| 264 |
ctx_dd = gr.Dropdown(choices=context_choices("frangieh"), value="IFNγ",
|
| 265 |
label="Cell context")
|
| 266 |
-
|
|
|
|
|
|
|
| 267 |
with gr.Accordion("Inference settings", open=False):
|
| 268 |
num_shots = gr.Slider(0, 8, value=8, step=1,
|
| 269 |
label="In-context demonstrations (other treatments)")
|
|
|
|
| 263 |
)
|
| 264 |
ctx_dd = gr.Dropdown(choices=context_choices("frangieh"), value="IFNγ",
|
| 265 |
label="Cell context")
|
| 266 |
+
_init_test = treatments_for("frangieh", "IFNγ")["test"]
|
| 267 |
+
treat_dd = gr.Dropdown(choices=_init_test, value=_init_test[0],
|
| 268 |
+
label="Target gene perturbation (held-out test split)")
|
| 269 |
with gr.Accordion("Inference settings", open=False):
|
| 270 |
num_shots = gr.Slider(0, 8, value=8, step=1,
|
| 271 |
label="In-context demonstrations (other treatments)")
|