damdkago commited on
Commit
73b9fa5
1 Parent(s): f7630ac

first commit

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()