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