Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,8 @@ score_js="""
|
|
174 |
function(text_input,url_params) {
|
175 |
console.log(text_input, url_params);
|
176 |
const iframe = document.getElementById("myIframe").contentWindow.document.getElementById('my_score');
|
177 |
-
|
|
|
178 |
console.log(text_input);
|
179 |
return [text_input,url_params];
|
180 |
}
|
|
|
174 |
function(text_input,url_params) {
|
175 |
console.log(text_input, url_params);
|
176 |
const iframe = document.getElementById("myIframe").contentWindow.document.getElementById('my_score');
|
177 |
+
console.log(iframe);
|
178 |
+
text_input = Object.fromEntries(url_params);
|
179 |
console.log(text_input);
|
180 |
return [text_input,url_params];
|
181 |
}
|