Umang Chaudhry commited on
Commit
798a5a1
1 Parent(s): a12fe73

Merge pull request #101 from vanderbilt-data-science/regenerate_output

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -205,7 +205,7 @@ if authentication_status:
205
 
206
  if chat_mdl is not None:
207
  updated_response = regenerate_custom_response(chat_mdl, regenerate_prompt, st.session_state.draft_response).content
208
- st.session_state.regenerate_prompt = updated_response
209
  st.session_state.is_regenerating = True
210
 
211
  st.rerun()
 
205
 
206
  if chat_mdl is not None:
207
  updated_response = regenerate_custom_response(chat_mdl, regenerate_prompt, st.session_state.draft_response).content
208
+ st.session_state.draft_response = updated_response
209
  st.session_state.is_regenerating = True
210
 
211
  st.rerun()