Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
joytou
/
my-speech
like
0
Running
App
Files
Files
Community
main
my-speech
/
entrypoint.sh
joytou
Disabled cuda
07331e0
about 2 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
188 Bytes
#!/bin/bash
CUDA_ENABLED=
"false"
CUDA_ENABLED=
${CUDA_ENABLED:-true}
DEVICE=
""
if
[
"
${CUDA_ENABLED}
"
!=
"true"
];
then
DEVICE=
"--device cpu"
fi
exec
python tools/webui.py
${DEVICE}