neuralleap commited on
Commit
ad00511
·
verified ·
1 Parent(s): c117822

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -479,7 +479,7 @@ if prompt:
479
  st.session_state.conversations[current_id]["should_update_title"] = False
480
 
481
  # Force a refresh of the UI after each message to ensure title updates
482
- st.experimental_rerun()
483
 
484
  except Exception as e:
485
  error_msg = f"Error: {str(e)}"
 
479
  st.session_state.conversations[current_id]["should_update_title"] = False
480
 
481
  # Force a refresh of the UI after each message to ensure title updates
482
+ st.rerun()
483
 
484
  except Exception as e:
485
  error_msg = f"Error: {str(e)}"