Prathap's picture
Update app.py
4c4ccf5
raw
history blame contribute delete
252 Bytes
import json
import openai
with open('GPT_SECRET_KEY.json') as f:
data = json.load(f)
openai.api_key = data["API_KEY"]
from gpt import GPT
from gpt import Example
gpt = GPT(engine="davinci",
temperature=0.6,
max_tokens=100)