Web3Daily commited on
Commit
7e628b7
1 Parent(s): 9f8507b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import openai
6
  openai.api_key = os.getenv("OPENAI_API_KEY")
7
 
8
  def chat_with_gpt(input_text):
9
- model_engine = "gpt-3.5-turbo" # Choose the appropriate model engine.
10
  prompt = f"{input_text} (AI):"
11
 
12
  response = openai.Completion.create(
 
6
  openai.api_key = os.getenv("OPENAI_API_KEY")
7
 
8
  def chat_with_gpt(input_text):
9
+ model_engine = "text-davinci-002" # Choose the appropriate model engine.
10
  prompt = f"{input_text} (AI):"
11
 
12
  response = openai.Completion.create(