Client import: real npm version 2.7.1, statically.io added as fallback
Browse files- index.html +3 -2
index.html
CHANGED
|
@@ -212,8 +212,9 @@
|
|
| 212 |
|
| 213 |
const CLIENT_SOURCES = [
|
| 214 |
"/gradio-client.js",
|
| 215 |
-
"https://cdn.jsdelivr.net/npm/@gradio/client@
|
| 216 |
-
"https://unpkg.com/@gradio/client@
|
|
|
|
| 217 |
];
|
| 218 |
async function loadClientModule() {
|
| 219 |
for (const src of CLIENT_SOURCES) {
|
|
|
|
| 212 |
|
| 213 |
const CLIENT_SOURCES = [
|
| 214 |
"/gradio-client.js",
|
| 215 |
+
"https://cdn.jsdelivr.net/npm/@gradio/client@2.7.1/dist/index.min.js",
|
| 216 |
+
"https://unpkg.com/@gradio/client@2.7.1/dist/index.min.js",
|
| 217 |
+
"https://cdn.statically.io/npm/@gradio/client@2.7.1/dist/index.min.js",
|
| 218 |
];
|
| 219 |
async function loadClientModule() {
|
| 220 |
for (const src of CLIENT_SOURCES) {
|