vaish026 commited on
Commit
39dda75
1 Parent(s): 07992d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import os
7
 
8
  # Function to load openai model and get response
9
  def get_open_ai_response(question):
10
- llm = OpenAI(api_key = os.getenv("OPEN_AI_KEY"), model_name = "gpt-3.5-turbo-instruct", temperature=0.5)
11
  response = llm(question)
12
  return response
13
 
 
7
 
8
  # Function to load openai model and get response
9
  def get_open_ai_response(question):
10
+ llm = OpenAI(model_name = "gpt-3.5-turbo-instruct", temperature=0.5)
11
  response = llm(question)
12
  return response
13