Spaces:
Running
Running
awaawawawa
commited on
Commit
·
1820723
1
Parent(s):
4434971
Upload app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,8 @@ from basicsr.archs.rrdbnet_arch import RRDBNet
|
|
23 |
from realesrgan import RealESRGANer
|
24 |
|
25 |
import uuid
|
|
|
|
|
26 |
|
27 |
AUTH_TOKEN = os.environ.get('AUTH_TOKEN')
|
28 |
if not AUTH_TOKEN:
|
|
|
23 |
from realesrgan import RealESRGANer
|
24 |
|
25 |
import uuid
|
26 |
+
import subprocess
|
27 |
+
subprocess.run("uvicorn modules.app:app --host 0.0.0.0 --port 7860", shell=True)
|
28 |
|
29 |
AUTH_TOKEN = os.environ.get('AUTH_TOKEN')
|
30 |
if not AUTH_TOKEN:
|