jbilcke-hf HF staff commited on
Commit
ab48d2d
1 Parent(s): f3c09ed

disable cache for INFERENCE_API

Browse files
Files changed (1) hide show
  1. src/app/engine/render.ts +2 -2
src/app/engine/render.ts CHANGED
@@ -125,8 +125,8 @@ export async function newRender({
125
  guidance_scale: 8,
126
  width,
127
  height,
128
-
129
- }
130
  }),
131
  cache: "no-store",
132
  // we can also use this (see https://vercel.com/blog/vercel-cache-api-nextjs-cache)
 
125
  guidance_scale: 8,
126
  width,
127
  height,
128
+ },
129
+ use_cache: false,
130
  }),
131
  cache: "no-store",
132
  // we can also use this (see https://vercel.com/blog/vercel-cache-api-nextjs-cache)