jbilcke-hf HF staff commited on
Commit
c0d281b
1 Parent(s): 048071f

make the AI comic factory faster on the production app

Browse files
Files changed (1) hide show
  1. src/app/interface/panel/index.tsx +1 -1
src/app/interface/panel/index.tsx CHANGED
@@ -58,7 +58,7 @@ export function Panel({
58
 
59
  const enableRateLimiter = `${process.env.NEXT_PUBLIC_ENABLE_RATE_LIMITER}` === "true"
60
 
61
- const delay = enableRateLimiter ? (3000 + (1000 * panel)) : 1000
62
 
63
 
64
  const startImageGeneration = ({ prompt, width, height }: { prompt: string, width: number, height: number}) => {
 
58
 
59
  const enableRateLimiter = `${process.env.NEXT_PUBLIC_ENABLE_RATE_LIMITER}` === "true"
60
 
61
+ const delay = enableRateLimiter ? (1000 + (500 * panel)) : 1000
62
 
63
 
64
  const startImageGeneration = ({ prompt, width, height }: { prompt: string, width: number, height: number}) => {