Omnibus commited on
Commit
65eb0fc
1 Parent(s): 69936c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- text_input = Object.fromEntries(iframe);
 
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
  }