NSC9 commited on
Commit
1143e7b
1 Parent(s): 4ada198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ my_env = os.environ.copy()
9
  #
10
  my_env["HF_SPACE"] = "embed/NSC9/Artificial_Calculus_Teacher"
11
 
12
- command = ["mercury", "run"]
13
  print(command)
14
  worker = Popen(command, env=my_env)
15
  worker.wait()
 
9
  #
10
  my_env["HF_SPACE"] = "embed/NSC9/Artificial_Calculus_Teacher"
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)
15
  worker.wait()