Update app.py
Browse files
app.py
CHANGED
|
@@ -163,13 +163,14 @@ def main():
|
|
| 163 |
response = "You are welcome!"
|
| 164 |
flag = 1
|
| 165 |
|
| 166 |
-
if st.button("Submit")
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
|
|
|
| 173 |
|
| 174 |
|
| 175 |
if __name__ == '__main__':
|
|
|
|
| 163 |
response = "You are welcome!"
|
| 164 |
flag = 1
|
| 165 |
|
| 166 |
+
if st.button("Submit"):
|
| 167 |
+
if flag ==0:
|
| 168 |
+
response = get_response(user_input)
|
| 169 |
+
st.write("Bot Response:")
|
| 170 |
+
st.write(response)
|
| 171 |
+
if flag ==1:
|
| 172 |
+
st.write("Bot Response:")
|
| 173 |
+
st.write(response)
|
| 174 |
|
| 175 |
|
| 176 |
if __name__ == '__main__':
|