Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def pdf_url_to_base64(url):
|
|
14 |
return None
|
15 |
|
16 |
|
17 |
-
ipyreact.define_module("ts-pdf",
|
18 |
ipyreact.define_import_map({
|
19 |
"pdfjs-dist": "https://esm.sh/pdfjs-dist@2.16.105/build/pdf.worker.js",
|
20 |
})
|
|
|
14 |
return None
|
15 |
|
16 |
|
17 |
+
ipyreact.define_module("ts-pdf", "./ts-pdf.mjs")
|
18 |
ipyreact.define_import_map({
|
19 |
"pdfjs-dist": "https://esm.sh/pdfjs-dist@2.16.105/build/pdf.worker.js",
|
20 |
})
|