Spaces:
Sleeping
Sleeping
Commit
•
855183b
1
Parent(s):
60d3d5e
planned maintenance
Browse files- src/app/engine/render.ts +2 -0
- src/app/queries/getStory.ts +2 -1
src/app/engine/render.ts
CHANGED
@@ -35,6 +35,8 @@ export async function newRender({
|
|
35 |
height: number
|
36 |
withCache: boolean
|
37 |
}) {
|
|
|
|
|
38 |
if (!prompt) {
|
39 |
const error = `cannot call the rendering API without a prompt, aborting..`
|
40 |
console.error(error)
|
|
|
35 |
height: number
|
36 |
withCache: boolean
|
37 |
}) {
|
38 |
+
throw new Error("Planned maintenance, please check: https://huggingface.co/spaces/jbilcke-hf/ai-comic-factory/discussions/339")
|
39 |
+
|
40 |
if (!prompt) {
|
41 |
const error = `cannot call the rendering API without a prompt, aborting..`
|
42 |
console.error(error)
|
src/app/queries/getStory.ts
CHANGED
@@ -15,7 +15,8 @@ export const getStory = async ({
|
|
15 |
preset: Preset;
|
16 |
prompt: string;
|
17 |
}): Promise<LLMResponse> => {
|
18 |
-
|
|
|
19 |
// In case you need to quickly debug the RENDERING engine you can uncomment this:
|
20 |
// return mockLLMResponse
|
21 |
|
|
|
15 |
preset: Preset;
|
16 |
prompt: string;
|
17 |
}): Promise<LLMResponse> => {
|
18 |
+
throw new Error("Planned maintenance, please check: https://huggingface.co/spaces/jbilcke-hf/ai-comic-factory/discussions/339")
|
19 |
+
|
20 |
// In case you need to quickly debug the RENDERING engine you can uncomment this:
|
21 |
// return mockLLMResponse
|
22 |
|