Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ set_window_url_params = """
|
|
20 |
function(text_input, url_params) {
|
21 |
const state = {text_input:text_input}
|
22 |
const queryString = '?' + new URLSearchParams(state).toString();
|
23 |
-
window.postMessage({ queryString: queryString }, "*")
|
24 |
return [text_input, state];
|
25 |
}
|
26 |
"""
|
|
|
20 |
function(text_input, url_params) {
|
21 |
const state = {text_input:text_input}
|
22 |
const queryString = '?' + new URLSearchParams(state).toString();
|
23 |
+
window.parent.postMessage({ queryString: queryString }, "*")
|
24 |
return [text_input, state];
|
25 |
}
|
26 |
"""
|