Spaces:
Runtime error
Runtime error
Galuh Sahid
commited on
Commit
•
9c517dd
1
Parent(s):
997fd4c
fix reload
Browse files
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.
|
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
|