bhulston commited on
Commit
c1226e0
1 Parent(s): 2aa6b23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 + "▌")