Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,7 @@ if "reset_triggered" not in st.session_state:
|
|
| 126 |
# JavaScript to clear the input field
|
| 127 |
clear_input_js = """
|
| 128 |
<script>
|
| 129 |
-
const input =
|
| 130 |
if (input) {
|
| 131 |
input.value = '';
|
| 132 |
}
|
|
|
|
| 126 |
# JavaScript to clear the input field
|
| 127 |
clear_input_js = """
|
| 128 |
<script>
|
| 129 |
+
const input = document.querySelector('input[aria-label="Your Question"]');
|
| 130 |
if (input) {
|
| 131 |
input.value = '';
|
| 132 |
}
|