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