Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ import tempfile
|
|
| 7 |
import scanpy as sc
|
| 8 |
import argparse
|
| 9 |
import subprocess
|
|
|
|
| 10 |
from io import BytesIO
|
| 11 |
from huggingface_hub import hf_hub_download
|
| 12 |
|
|
@@ -29,13 +30,11 @@ def main(input_file_path, species):
|
|
| 29 |
# Print the current working directory
|
| 30 |
print("Current Working Directory:", current_working_directory)
|
| 31 |
|
| 32 |
-
#
|
| 33 |
-
|
| 34 |
-
# # Specify the path to the directory you want to add
|
| 35 |
-
# new_directory = "/path/to/new/directory"
|
| 36 |
|
| 37 |
-
#
|
| 38 |
-
|
| 39 |
|
| 40 |
|
| 41 |
##############
|
|
|
|
| 7 |
import scanpy as sc
|
| 8 |
import argparse
|
| 9 |
import subprocess
|
| 10 |
+
import sys
|
| 11 |
from io import BytesIO
|
| 12 |
from huggingface_hub import hf_hub_download
|
| 13 |
|
|
|
|
| 30 |
# Print the current working directory
|
| 31 |
print("Current Working Directory:", current_working_directory)
|
| 32 |
|
| 33 |
+
# Specify the path to the directory you want to add
|
| 34 |
+
new_directory = "/home/user/app/UCE"
|
|
|
|
|
|
|
| 35 |
|
| 36 |
+
# Add the directory to the Python path
|
| 37 |
+
sys.path.append(new_directory)
|
| 38 |
|
| 39 |
|
| 40 |
##############
|