typesdigital commited on
Commit
6b1fbb7
·
1 Parent(s): 42b0eab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def generate_response(prompt):
9
  # Set up the OpenAI API parameters
10
  model_engine = "text-davinci-002"
11
  temperature = 0.7
12
- max_tokens = 100
13
 
14
  # Generate the response using the OpenAI API
15
  response = openai.Completion.create(
 
9
  # Set up the OpenAI API parameters
10
  model_engine = "text-davinci-002"
11
  temperature = 0.7
12
+ max_tokens = 250
13
 
14
  # Generate the response using the OpenAI API
15
  response = openai.Completion.create(