Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Airoura
/
Rewriter
like
0
Sleeping
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
main
Rewriter
/
test.py
Aipura
first commit
c35a903
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
188 Bytes
from
langchain.llms
import
OpenAI
import
os
os.environ[
"OPENAI_API_KEY"
] =
"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"
llm = OpenAI(temperature=
1
)
response = llm(
"Who are you?"
)