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