Commit
·
7eeb4f8
1
Parent(s):
525ff30
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ 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 |
-
|
|
|
13 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
14 |
print(command)
|
15 |
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 |
+
CACHED_FOLDER = "gradio_cached_examples"
|
13 |
+
os.remove(CACHED_FOLDER)
|
14 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
15 |
print(command)
|
16 |
worker = Popen(command, env=my_env)
|