Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
cahya
/
websocket
like
2
Runtime error
App
Files
Files
Community
71fc590
websocket
/
start.sh
cahya
first commit
594d38b
over 1 year ago
raw
history
blame
No virus
236 Bytes
#!/usr/bin/env bash
set
-e
cd
/fastapi/app
if
[
"
$DEBUG
"
=
true
] ;
then
echo
'Debugging - ON'
uvicorn main:app --host 0.0.0.0 --port 80 --reload
else
echo
'Debugging - OFF'
uvicorn main:app --host 0.0.0.0 --port 80
fi