enzostvs HF Staff commited on
Commit
1688a3c
·
1 Parent(s): 7e19cbb

workaround huggingface/hub

Browse files
Files changed (1) hide show
  1. app/api/uploader.ts +2 -2
app/api/uploader.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { uploadFiles } from "@huggingface/hub";
2
- import type { RepoDesignation, Credentials } from "@huggingface/hub";
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" };