Omnibus commited on
Commit
9dd39c3
1 Parent(s): 40d85f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 = iframe.document.getElementById("name-result");
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);