Arts-of-coding
commited on
Commit
•
bad8a9d
1
Parent(s):
ed7cc88
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,8 @@
|
|
1 |
import os
|
2 |
from dotenv import load_dotenv
|
3 |
from subprocess import Popen
|
4 |
-
import shutil
|
5 |
-
import gradio as gr
|
6 |
-
|
7 |
load_dotenv()
|
8 |
|
9 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
10 |
-
print(command)
|
11 |
worker = Popen(command)
|
12 |
worker.wait()
|
|
|
1 |
import os
|
2 |
from dotenv import load_dotenv
|
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()
|