Commit
·
c649ce2
1
Parent(s):
5b201b6
Update index.js
Browse files
index.js
CHANGED
@@ -1,6 +1,4 @@
|
|
1 |
-
|
2 |
-
import { createApiError } from "../error";
|
3 |
-
import { hexFromBytes } from "../utils/hexFromBytes";
|
4 |
|
5 |
function createApiError(res) {
|
6 |
throw new Error (await res.text());
|
|
|
1 |
+
const HUB_URL = "https://huggingface.co";
|
|
|
|
|
2 |
|
3 |
function createApiError(res) {
|
4 |
throw new Error (await res.text());
|