Arts-of-coding commited on
Commit
35b34c5
·
1 Parent(s): f3b3d26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -1,5 +1,3 @@
1
- delete-cache
2
-
3
  import os
4
  from dotenv import load_dotenv
5
  from subprocess import Popen
@@ -11,7 +9,6 @@ my_env = os.environ.copy()
11
  # Please set your username and your Space name
12
  #
13
  my_env["HF_SPACE"] = "embed/Arts-of-coding/Corneal_meta-atlas"
14
- command = ["mercury", "clearsessions"]
15
  command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
16
  print(command)
17
  worker = Popen(command, env=my_env)
 
 
 
1
  import os
2
  from dotenv import load_dotenv
3
  from subprocess import Popen
 
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)