Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
templates/gradio-oauth
lunarflu
/
gradio-oauth2
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
Wauplin
HF Staff
commited on
Jul 13, 2023
Commit
54bac37
·
1 Parent(s):
75af3c9
allow ips all
Browse files
Files changed (1)
hide
show
start.py
+1
-1
start.py
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
import subprocess
2
3
-
subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860", shell=True)
1
import subprocess
2
3
+
subprocess.run("uvicorn app:app --host 0.0.0.0 --port 7860
--forwarded-allow-ips '*'
", shell=True)