Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import gradio as gr
|
|
| 2 |
from diffusers import DiffusionPipeline
|
| 3 |
import spaces
|
| 4 |
import torch
|
|
|
|
| 5 |
|
| 6 |
dev_model = "black-forest-labs/FLUX.1-dev"
|
| 7 |
schnell_model = "black-forest-labs/FLUX.1-schnell"
|
|
|
|
| 2 |
from diffusers import DiffusionPipeline
|
| 3 |
import spaces
|
| 4 |
import torch
|
| 5 |
+
from concurrent.futures import ProcessPoolExecutor
|
| 6 |
|
| 7 |
dev_model = "black-forest-labs/FLUX.1-dev"
|
| 8 |
schnell_model = "black-forest-labs/FLUX.1-schnell"
|