Spaces:
Runtime error
Runtime error
clementchadebec
commited on
Commit
•
f892d4a
1
Parent(s):
a3b0b89
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import random
|
4 |
-
from diffusers import
|
5 |
import torch
|
|
|
|
|
6 |
|
7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
|
|
|
1 |
import gradio as gr
|
2 |
import numpy as np
|
3 |
import random
|
4 |
+
from diffusers import PixArtAlphaPipeline, Transformer2DModel, LCMScheduler
|
5 |
import torch
|
6 |
+
from peft import PeftModel
|
7 |
+
|
8 |
|
9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
10 |
|