Arts-of-coding commited on
Commit
6dfab66
·
verified ·
1 Parent(s): fa7578d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -3,18 +3,18 @@ from dotenv import load_dotenv
3
  from subprocess import Popen
4
  load_dotenv()
5
 
6
- command = ["pip", "uninstall", "ipykernel"]
7
- worker = Popen(command)
8
- worker.wait()
9
 
10
- command = ["pip", "install", "ipykernel"]
11
- worker = Popen(command)
12
- worker.wait()
13
 
14
- command = ["pip", "install", "numexpr==2.7.3"]
15
- worker = Popen(command)
16
- worker.wait()
17
 
18
- command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
19
  worker = Popen(command)
20
  worker.wait()
 
3
  from subprocess import Popen
4
  load_dotenv()
5
 
6
+ #command = ["pip", "uninstall", "ipykernel"]
7
+ #worker = Popen(command)
8
+ #worker.wait()
9
 
10
+ #command = ["pip", "install", "ipykernel"]
11
+ #worker = Popen(command)
12
+ #worker.wait()
13
 
14
+ #command = ["pip", "install", "numexpr==2.7.3"]
15
+ #worker = Popen(command)
16
+ #worker.wait()
17
 
18
+ command = ["mercury", "run"]#, f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
19
  worker = Popen(command)
20
  worker.wait()