Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
4 |
-
import spaces
|
5 |
-
import torch
|
6 |
-
from diffusers import DiffusionPipeline
|
7 |
|
8 |
dtype = torch.bfloat16
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
1 |
import gradio as gr
|
2 |
+
|
3 |
+
gr.load("models/black-forest-labs/FLUX.1-schnell").launch()
|
|
|
|
|
|
|
4 |
|
5 |
dtype = torch.bfloat16
|
6 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|