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

Fix client version: @gradio/client@2.7.1 (npm versioning; 6.32.0 never existed)

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -46,8 +46,9 @@ model.eval().to("cuda")
46
  # package installs work here) and serve it from this Space's own origin; the page falls back to
47
  # the CDNs only if this file is missing.
48
  _CLIENT_SOURCES = [
49
- "https://cdn.jsdelivr.net/npm/@gradio/client@6.32.0/dist/index.min.js",
50
- "https://unpkg.com/@gradio/client@6.32.0/dist/index.min.js",
 
51
  ]
52
  _client_path = Path(__file__).resolve().parent / "gradio_client.min.js"
53
  if not _client_path.exists():
 
46
  # package installs work here) and serve it from this Space's own origin; the page falls back to
47
  # the CDNs only if this file is missing.
48
  _CLIENT_SOURCES = [
49
+ "https://cdn.jsdelivr.net/npm/@gradio/client@2.7.1/dist/index.min.js",
50
+ "https://unpkg.com/@gradio/client@2.7.1/dist/index.min.js",
51
+ "https://cdn.statically.io/npm/@gradio/client@2.7.1/dist/index.min.js",
52
  ]
53
  _client_path = Path(__file__).resolve().parent / "gradio_client.min.js"
54
  if not _client_path.exists():