Spaces:
Running
Running
Update server.js
Browse files
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-
|
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,
|