Commit
·
99b45ee
1
Parent(s):
35b34c5
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,7 @@ my_env = os.environ.copy()
|
|
9 |
# Please set your username and your Space name
|
10 |
#
|
11 |
my_env["HF_SPACE"] = "embed/Arts-of-coding/Corneal_meta-atlas"
|
|
|
12 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
13 |
print(command)
|
14 |
worker = Popen(command, env=my_env)
|
|
|
9 |
# Please set your username and your Space name
|
10 |
#
|
11 |
my_env["HF_SPACE"] = "embed/Arts-of-coding/Corneal_meta-atlas"
|
12 |
+
my_env["HUGGINGFACE_HUB_CACHE"]= "/home/user/cache2"
|
13 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
14 |
print(command)
|
15 |
worker = Popen(command, env=my_env)
|