Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
cahya
/
websocket
like
2
Runtime error
App
Files
Files
Community
b8d0664
websocket
/
start.sh
cahya
first commit
594d38b
almost 2 years ago
raw
Copy download link
history
blame
Safe
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