jbilcke-hf HF staff commited on
Commit
903bee0
1 Parent(s): 99c03ec

fix dependency

Browse files
src/app/server/aitube/createClap.ts CHANGED
@@ -4,7 +4,7 @@
4
  import { Ratelimit } from "@upstash/ratelimit"
5
  import { Redis } from "@upstash/redis"
6
  import { ClapProject, ClapImageRatio } from "@aitube/clap"
7
- import { createClap as apiCreateClap } from "@aitube/api-client"
8
 
9
  import { getToken } from "./getToken"
10
  import { RESOLUTION_LONG, RESOLUTION_SHORT, MAX_PROMPT_LENGTH_IN_CHARS } from "../config"
 
4
  import { Ratelimit } from "@upstash/ratelimit"
5
  import { Redis } from "@upstash/redis"
6
  import { ClapProject, ClapImageRatio } from "@aitube/clap"
7
+ import { createClap as apiCreateClap } from "@aitube/client"
8
 
9
  import { getToken } from "./getToken"
10
  import { RESOLUTION_LONG, RESOLUTION_SHORT, MAX_PROMPT_LENGTH_IN_CHARS } from "../config"
src/app/server/aitube/editClapDialogues.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
- import { editClapDialogues as apiEditClapDialogues } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
 
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
+ import { editClapDialogues as apiEditClapDialogues } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
src/app/server/aitube/editClapEntities.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
- import { editClapEntities as apiEditClapEntities, ClapEntityPrompt } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
 
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
+ import { editClapEntities as apiEditClapEntities, ClapEntityPrompt } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
src/app/server/aitube/editClapMusic.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
- import { editClapMusic as apiEditClapMusic } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
 
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
+ import { editClapMusic as apiEditClapMusic } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
src/app/server/aitube/editClapSounds.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
- import { editClapSounds as apiEditClapSounds } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
 
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
+ import { editClapSounds as apiEditClapSounds } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
src/app/server/aitube/editClapStory.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
- import { editClapStory as apiEditClapStory } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
 
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
+ import { editClapStory as apiEditClapStory } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
src/app/server/aitube/editClapStoryboards.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
- import { editClapStoryboards as apiEditClapStoryboards } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
 
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
+ import { editClapStoryboards as apiEditClapStoryboards } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
src/app/server/aitube/editClapVideos.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
- import { editClapVideos as apiEditClapVideos } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
 
1
  "use server"
2
 
3
  import { ClapProject, ClapCompletionMode } from "@aitube/clap"
4
+ import { editClapVideos as apiEditClapVideos } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { Workaround } from "./types"
src/app/server/aitube/exportClapToVideo.ts CHANGED
@@ -1,7 +1,7 @@
1
  "use server"
2
 
3
  import { ClapProject } from "@aitube/clap"
4
- import { exportClapToVideo as apiExportClapToVideo } from "@aitube/api-client"
5
 
6
  import { getToken } from "./getToken"
7
  import { removeFinalVideos } from "@/lib/utils/removeFinalVideos"
 
1
  "use server"
2
 
3
  import { ClapProject } from "@aitube/clap"
4
+ import { exportClapToVideo as apiExportClapToVideo } from "@aitube/client"
5
 
6
  import { getToken } from "./getToken"
7
  import { removeFinalVideos } from "@/lib/utils/removeFinalVideos"