Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
import torch
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
from diffusers import FluxPipeline
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
import random
|
| 6 |
-
|
| 7 |
|
| 8 |
# Chargement du modèle Flux.1-schnell
|
| 9 |
model_id = "black-forest-labs/FLUX.1-schnell"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
import spaces
|
| 3 |
import gradio as gr
|
| 4 |
from diffusers import FluxPipeline
|
| 5 |
from huggingface_hub import hf_hub_download
|
| 6 |
import random
|
| 7 |
+
|
| 8 |
|
| 9 |
# Chargement du modèle Flux.1-schnell
|
| 10 |
model_id = "black-forest-labs/FLUX.1-schnell"
|