Spaces:
Running
Running
Yang Gu
commited on
Commit
·
3b919a3
1
Parent(s):
ac1635d
Change ort-phi2 model to external
Browse files- demo/ort-phi2/index.html +1 -1
demo/ort-phi2/index.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79 |
this.profiler = options.profiler;
|
80 |
this.trace = options.trace;
|
81 |
|
82 |
-
const model_path = (local) ? "models/" + model.path : "https://huggingface.co/" + model.path + "/resolve/main";
|
83 |
|
84 |
log(`loading... ${model.name}, ${provider}`);
|
85 |
const json_bytes = await fetchAndCache(model_path + "/config.json");
|
|
|
79 |
this.profiler = options.profiler;
|
80 |
this.trace = options.trace;
|
81 |
|
82 |
+
const model_path = (local) ? "https://wp-27.sh.intel.com/workspace/project/models/" + model.path : "https://huggingface.co/" + model.path + "/resolve/main";
|
83 |
|
84 |
log(`loading... ${model.name}, ${provider}`);
|
85 |
const json_bytes = await fetchAndCache(model_path + "/config.json");
|