broadfield commited on
Commit
7326a84
·
verified ·
1 Parent(s): 3139274

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -60,8 +60,7 @@ function readfn(inn,url) {
60
  console.log(inn);
61
  console.log(url);
62
  var readit = document.getElementById("aud" + String(inn));
63
- let url_in = 'https://broadfield-fast-voice.hf.space/?pdfurl=UUU';
64
- let api = url_in.replace('UUU',url);
65
  console.log(api);
66
  readit.innerHTML = "";
67
  const iframe = document.createElement('iframe');
 
60
  console.log(inn);
61
  console.log(url);
62
  var readit = document.getElementById("aud" + String(inn));
63
+ let api = 'https://broadfield-fast-voice.hf.space/?pdfurl=' + url;
 
64
  console.log(api);
65
  readit.innerHTML = "";
66
  const iframe = document.createElement('iframe');