Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
7515cd6
1
Parent(s):
a507a3b
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
import numpy as np
|
3 |
import random
|
4 |
import torch
|
5 |
from diffusers import StableDiffusion3Pipeline, SD3Transformer2DModel, FlowMatchEulerDiscreteScheduler
|
6 |
-
import spaces
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
dtype = torch.float16
|
|
|
1 |
import gradio as gr
|
2 |
+
import spaces
|
3 |
import numpy as np
|
4 |
import random
|
5 |
import torch
|
6 |
from diffusers import StableDiffusion3Pipeline, SD3Transformer2DModel, FlowMatchEulerDiscreteScheduler
|
|
|
7 |
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
dtype = torch.float16
|