Spaces:
Runtime error
Runtime error
Galuh Sahid
commited on
Commit
•
23a40c8
1
Parent(s):
9c517dd
fix reload
Browse files
app.py
CHANGED
@@ -112,6 +112,7 @@ 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
|
|
|
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.prompt_box = None
|
116 |
session_state.text = None
|
117 |
else:
|
118 |
session_state.prompt = prompt
|