Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
KroZenDev
/
ImageUpscalerAPI
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
KroZenDev
commited on
17 days ago
Commit
9d11515
·
verified
·
1 Parent(s):
157c205
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+2
-1
app.py
CHANGED
Viewed
@@ -34,4 +34,5 @@ def upscale_image():
34
)
35
36
if __name__ == "__main__":
37
-
app.run
(
host="0
.
0
.
0.0
",
port=6275
)
34
)
35
36
if __name__ == "__main__":
37
+
port = int
(
os
.
environ
.
get(
"
PORT"
,
7860
)
)
38
+
app.run(host="0.0.0.0", port=port)