hardcode in path
Browse files
app.py
CHANGED
@@ -240,6 +240,9 @@ if __name__ == "__main__":
|
|
240 |
outputs=[image_output, file_output, pred_output]
|
241 |
)
|
242 |
|
|
|
|
|
|
|
243 |
examples = gr.Examples(
|
244 |
examples=[[default_dataset_1_path, "human", "PBMC 100 cells"],[default_dataset_2_path, "human", "PBMC 1000 cells"]],
|
245 |
inputs=[file_input, species_input, default_dataset_input],
|
|
|
240 |
outputs=[image_output, file_output, pred_output]
|
241 |
)
|
242 |
|
243 |
+
default_dataset_1_path = hf_hub_download(repo_id="minwoosun/uce-misc", filename="100_pbmcs_proc_subset.h5ad")
|
244 |
+
default_dataset_2_path = hf_hub_download(repo_id="minwoosun/uce-misc", filename="1k_pbmcs_proc_subset.h5ad")
|
245 |
+
|
246 |
examples = gr.Examples(
|
247 |
examples=[[default_dataset_1_path, "human", "PBMC 100 cells"],[default_dataset_2_path, "human", "PBMC 1000 cells"]],
|
248 |
inputs=[file_input, species_input, default_dataset_input],
|