Walterchamy
commited on
Commit
•
884877b
1
Parent(s):
ac4a70e
Update app.py
Browse files
app.py
CHANGED
@@ -86,11 +86,11 @@ def generate_response(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
|
94 |
|
95 |
def main():
|
96 |
st.title("Chatbot Assistant")
|
|
|
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")
|