Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,8 +59,12 @@ function closefn(inn) {
|
|
| 59 |
function readfn(inn) {
|
| 60 |
console.log(inn);
|
| 61 |
var readit = document.getElementById("aud" + String(inn));
|
| 62 |
-
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
</script>
|
| 65 |
""".replace('/abs/','/pdf/')
|
| 66 |
|
|
|
|
| 59 |
function readfn(inn) {
|
| 60 |
console.log(inn);
|
| 61 |
var readit = document.getElementById("aud" + String(inn));
|
| 62 |
+
const iframe = document.createElement('iframe');
|
| 63 |
+
iframe.src = 'https://broadfield-fast-voice.hf.space/?pdfurl=inn["id"]';
|
| 64 |
+
iframe.width = '100%';
|
| 65 |
+
iframe.height = '200px';
|
| 66 |
+
readit.appendChild(iframe);
|
| 67 |
+
}
|
| 68 |
</script>
|
| 69 |
""".replace('/abs/','/pdf/')
|
| 70 |
|