Commit
·
a444982
1
Parent(s):
84314f6
Update app.py
Browse files
app.py
CHANGED
@@ -10,9 +10,11 @@ my_env = os.environ.copy()
|
|
10 |
#
|
11 |
# Please set your username and your Space name
|
12 |
#
|
13 |
-
|
14 |
my_env["HF_SPACE"] = "embed/Arts-of-coding/Corneal_meta-atlas"
|
15 |
-
|
|
|
|
|
|
|
16 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
17 |
print(command)
|
18 |
worker = Popen(command, env=my_env)
|
|
|
10 |
#
|
11 |
# Please set your username and your Space name
|
12 |
#
|
|
|
13 |
my_env["HF_SPACE"] = "embed/Arts-of-coding/Corneal_meta-atlas"
|
14 |
+
command = ["ls", "-a"]
|
15 |
+
print(command)
|
16 |
+
worker = Popen(command)
|
17 |
+
worker.wait()
|
18 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
19 |
print(command)
|
20 |
worker = Popen(command, env=my_env)
|