Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
yunshi1207
/
chatbot
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
fc4f663
chatbot
/
app.py
yunshi1207
Update app.py
fc4f663
over 1 year ago
raw
Copy download link
history
blame
Safe
168 Bytes
from
huggingface_hub
import
secrets
# 获取秘密的值
secret_value = secrets.get(OPENAI_API_KEY)
# 使用秘密的值
print
(
f"The secret value is:
{secret_value}
"
)