Walterchamy commited on
Commit
5024183
1 Parent(s): 884877b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -85,12 +85,11 @@ def generate_response(user_input):
85
  {"role": "user", "content": user_input},
86
  ]
87
  )
88
-
89
- #response['choices'][0]['message']['content']
90
  if "kiitec" in user_input.lower():
91
  response += "\n\n" + "Here is some information about KIITEC:\n" + KIITEC_CONTENT
92
 
93
- return response['choices'][0]['message']['content']
94
 
95
  def main():
96
  st.title("Chatbot Assistant")
 
85
  {"role": "user", "content": user_input},
86
  ]
87
  )
88
+ response['choices'][0]['message']['content']
 
89
  if "kiitec" in user_input.lower():
90
  response += "\n\n" + "Here is some information about KIITEC:\n" + KIITEC_CONTENT
91
 
92
+ return response
93
 
94
  def main():
95
  st.title("Chatbot Assistant")