NSC9 commited on
Commit
ba62add
1 Parent(s): 9f2e263

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -3,13 +3,6 @@ from dotenv import load_dotenv
3
  from subprocess import Popen
4
  load_dotenv()
5
 
6
- my_env = os.environ.copy()
7
- #
8
- # Please set your username and your Space name
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()
 
3
  from subprocess import Popen
4
  load_dotenv()
5
 
 
 
 
 
 
 
6
  command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
7
+ worker = Popen(command)
 
8
  worker.wait()