rajesh1729
commited on
Commit
•
48ebba7
1
Parent(s):
8698049
Update app.py
Browse files
app.py
CHANGED
@@ -3,11 +3,6 @@ from dotenv import load_dotenv
|
|
3 |
from subprocess import Popen
|
4 |
load_dotenv()
|
5 |
|
6 |
-
|
7 |
-
my_env = os.environ.copy()
|
8 |
-
my_env["HF_SPACE"] = "embed/rajesh1729/animated-visualization-with-mercury-ipyvizzu"
|
9 |
-
|
10 |
command = ["mercury", "run", f"0.0.0.0:{os.environ.get('PORT', 7860)}"]
|
11 |
-
|
12 |
-
worker = Popen(command, env=my_env)
|
13 |
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()
|