Fix client version: @gradio/client@2.7.1 (npm versioning; 6.32.0 never existed)
Browse files
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@
|
| 50 |
-
"https://unpkg.com/@gradio/client@
|
|
|
|
| 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():
|