Kumarkishalaya commited on
Commit
70b8145
·
verified ·
1 Parent(s): 4371a52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ load_dotenv()
15
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
16
 
17
  openai.api_key = OPENAI_API_KEY
18
- client = OpenAI()
19
 
20
  # Initialize the tokenizer for the model
21
  tokenizer = tiktoken.get_encoding('p50k_base') # Use the appropriate encoding for your model
 
15
  OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
16
 
17
  openai.api_key = OPENAI_API_KEY
18
+ client = openai
19
 
20
  # Initialize the tokenizer for the model
21
  tokenizer = tiktoken.get_encoding('p50k_base') # Use the appropriate encoding for your model