Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
from subprocess import Popen
|
| 3 |
|
| 4 |
-
command = ["panel", "serve", f"
|
| 5 |
worker = Popen(command)
|
| 6 |
worker.wait()
|
|
|
|
| 1 |
import os
|
| 2 |
from subprocess import Popen
|
| 3 |
|
| 4 |
+
command = ["panel", "serve", f"njain-custchurn.hf.space:{os.environ.get('PORT', 7860)}"]
|
| 5 |
worker = Popen(command)
|
| 6 |
worker.wait()
|