Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ztgeng
/
ChatGPT-Face
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1ff2f5e
ChatGPT-Face
/
start.sh
ztgeng
change port
bf6b0b5
over 1 year ago
raw
Copy download link
history
blame
Safe
255 Bytes
#!/bin/sh
# 将环境变量的内容写入凭证文件
# echo $GOOGLE_APPLICATION_CREDENTIALS_JSON
echo
$GOOGLE_APPLICATION_CREDENTIALS_JSON
> /app/keys/google-cloud-text-to-speech-key.json
# 启动 Flask 应用
exec
flask run --host=0.0.0.0 --port=7680