Galuh Sahid commited on
Commit
997fd4c
1 Parent(s): 35ae704

fix reload

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -113,6 +113,8 @@ if session_state.prompt is None:
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
 
117
  if session_state.prompt == "Custom":
118
  session_state.prompt_box = "Enter your text here"
 
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
118
 
119
  if session_state.prompt == "Custom":
120
  session_state.prompt_box = "Enter your text here"