RamV commited on
Commit
23d2ba7
·
1 Parent(s): 3b57914

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def generate_response(user_input):
16
  else:
17
  # Construct the prompt with the user input
18
  prompt = f"You said: {user_input}"
19
- return prompt
20
 
21
 
22
  def generate_response(user_input):
@@ -27,6 +27,7 @@ def generate_response(user_input):
27
  else:
28
  # Construct the prompt with the user input
29
  prompt = f"You said: {user_input}"
 
30
 
31
  # Generate a response using the OpenAI API
32
  response = openai.Completion.create(
 
16
  else:
17
  # Construct the prompt with the user input
18
  prompt = f"You said: {user_input}"
19
+
20
 
21
 
22
  def generate_response(user_input):
 
27
  else:
28
  # Construct the prompt with the user input
29
  prompt = f"You said: {user_input}"
30
+ return prompt
31
 
32
  # Generate a response using the OpenAI API
33
  response = openai.Completion.create(