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