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