shashwatIDR commited on
Commit
523255d
·
verified ·
1 Parent(s): 3f49f6f

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +1 -1
server.js CHANGED
@@ -226,7 +226,7 @@ app.post('/api/generate/flux', async (req, res) => {
226
  }
227
 
228
  // Connect to FLUX.1-dev Gradio client
229
- const client = await Client.connect("black-forest-labs/FLUX.1-dev");
230
  const result = await client.predict("/infer", {
231
  prompt,
232
  seed,
 
226
  }
227
 
228
  // Connect to FLUX.1-dev Gradio client
229
+ const client = await Client.connect("black-forest-labs/FLUX.1-schnell");
230
  const result = await client.predict("/infer", {
231
  prompt,
232
  seed,