akhaliq HF Staff commited on
Commit
cf0ab54
·
verified ·
1 Parent(s): 187c581

Client import: real npm version 2.7.1, statically.io added as fallback

Browse files
Files changed (1) hide show
  1. 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@6.32.0/dist/index.min.js",
216
- "https://unpkg.com/@gradio/client@6.32.0/dist/index.min.js",
 
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) {