Galuh Sahid commited on
Commit
9c517dd
1 Parent(s): 997fd4c

fix reload

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ prompt = st.selectbox('Prompt', ALL_PROMPTS, index=len(ALL_PROMPTS)-1)
111
  if session_state.prompt is None:
112
  session_state.prompt = prompt
113
  elif session_state.prompt is not None and (prompt != session_state.prompt):
114
- session_state.prompt_box = None
115
  session_state.text = None
116
  else:
117
  session_state.prompt = prompt
 
111
  if session_state.prompt is None:
112
  session_state.prompt = prompt
113
  elif session_state.prompt is not None and (prompt != session_state.prompt):
114
+ session_state.prompt = prompt
115
  session_state.text = None
116
  else:
117
  session_state.prompt = prompt