Spaces:
Runtime error
Runtime error
workaround huggingface/hub
Browse files- app/api/uploader.ts +2 -2
app/api/uploader.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
import { uploadFiles } from "
|
| 2 |
-
import type { RepoDesignation, Credentials } from "
|
| 3 |
|
| 4 |
export const UploaderDataset = async (blob: Blob, name: string) => {
|
| 5 |
const repo: RepoDesignation = { type: "dataset", name: "enzostvs/stable-diffusion-tpu-generations" };
|
|
|
|
| 1 |
+
import { uploadFiles } from "./../../node_modules/@huggingface/hub/dist";
|
| 2 |
+
import type { RepoDesignation, Credentials } from "./../../node_modules/@huggingface/hub/dist";
|
| 3 |
|
| 4 |
export const UploaderDataset = async (blob: Blob, name: string) => {
|
| 5 |
const repo: RepoDesignation = { type: "dataset", name: "enzostvs/stable-diffusion-tpu-generations" };
|