Update app.py
Browse files
app.py
CHANGED
|
@@ -149,7 +149,7 @@ if prompt := st.chat_input("What kind of class are you looking for?"):
|
|
| 149 |
# )["choices"][0]["message"]["content"]
|
| 150 |
|
| 151 |
## Display response regardless of route
|
| 152 |
-
for chunk in re.split(r'(\s+)', assistant_response:
|
| 153 |
full_response += chunk + " "
|
| 154 |
time.sleep(0.02)
|
| 155 |
message_placeholder.markdown(full_response + "▌")
|
|
|
|
| 149 |
# )["choices"][0]["message"]["content"]
|
| 150 |
|
| 151 |
## Display response regardless of route
|
| 152 |
+
for chunk in re.split(r'(\s+)', assistant_response):
|
| 153 |
full_response += chunk + " "
|
| 154 |
time.sleep(0.02)
|
| 155 |
message_placeholder.markdown(full_response + "▌")
|