Spaces:
Running
Running
sarahciston
commited on
Commit
•
87edd97
1
Parent(s):
9ee089d
import from CDN in module
Browse files
sketch.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
|
2 |
// IMPORT LIBRARIES TOOLS
|
3 |
-
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.10.1';
|
4 |
-
import { Client } from "@gradio/client";
|
5 |
|
6 |
// skip local model check
|
7 |
env.allowLocalModels = false;
|
|
|
1 |
|
2 |
// IMPORT LIBRARIES TOOLS
|
3 |
+
import { pipeline, env } from 'https://cdn.jsdelivr.net/npm/@xenova/transformers@2.10.1'; //HF transformers;
|
4 |
+
import { Client } from 'https://cdn.jsdelivr.net/npm/@gradio/client/dist/index.min.js' // "@gradio/client";
|
5 |
|
6 |
// skip local model check
|
7 |
env.allowLocalModels = false;
|