Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
darshankr
/
trans-en-indic
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
6f55a35
trans-en-indic
/
run.py
darshankr
Update run.py
b9242df
verified
3 months ago
raw
Copy download link
history
blame
Safe
192 Bytes
import
os
import
sys
import
uvicorn
from
app
import
create_app
if
__name__ ==
"__main__"
:
port =
int
(os.environ.get(
"PORT"
,
7860
))
uvicorn.run(create_app(), host=
"0.0.0.0"
, port=port)