resolve path issue
Browse files
app.py
CHANGED
@@ -80,13 +80,8 @@ def clone_repo():
|
|
80 |
def main(input_file_path, species, default_dataset, default_dataset_1_path, default_dataset_2_path):
|
81 |
|
82 |
BASE_PATH = '/home/user/app/UCE/'
|
83 |
-
|
84 |
-
|
85 |
-
# os.system('git clone https://github.com/minwoosun/UCE.git')
|
86 |
-
# os.chdir(BASE_PATH)
|
87 |
-
|
88 |
-
# # Add the directory to the Python path
|
89 |
-
# sys.path.append(BASE_PATH)
|
90 |
|
91 |
# Set default dataset path
|
92 |
default_dataset_1_path = hf_hub_download(repo_id="minwoosun/uce-misc", filename="100_pbmcs_proc_subset.h5ad")
|
|
|
80 |
def main(input_file_path, species, default_dataset, default_dataset_1_path, default_dataset_2_path):
|
81 |
|
82 |
BASE_PATH = '/home/user/app/UCE/'
|
83 |
+
os.chdir(BASE_PATH)
|
84 |
+
sys.path.append(BASE_PATH)
|
|
|
|
|
|
|
|
|
|
|
85 |
|
86 |
# Set default dataset path
|
87 |
default_dataset_1_path = hf_hub_download(repo_id="minwoosun/uce-misc", filename="100_pbmcs_proc_subset.h5ad")
|