hakai-institute commited on
Commit
93b6b95
1 Parent(s): c889cfa

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import os
2
+ from subprocess import Popen
3
+
4
+ command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
5
+ worker = Popen(command)
6
+ worker.wait()