Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
9d37da2
1
Parent(s):
886576a
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
from diffusers import AutoPipelineForText2Image, EulerAncestralDiscreteScheduler
|
2 |
from diffusers import UniPCMultistepScheduler
|
3 |
import gradio as gr
|
@@ -11,7 +12,6 @@ from torch import autocast
|
|
11 |
from safetensors import safe_open
|
12 |
from compel import Compel, ReturnedEmbeddingsType
|
13 |
from safetensors.torch import load_file
|
14 |
-
import spaces
|
15 |
|
16 |
model_id = "aipicasso/emix-0-5"
|
17 |
auth_token=os.environ["ACCESS_TOKEN"]
|
|
|
1 |
+
import spaces
|
2 |
from diffusers import AutoPipelineForText2Image, EulerAncestralDiscreteScheduler
|
3 |
from diffusers import UniPCMultistepScheduler
|
4 |
import gradio as gr
|
|
|
12 |
from safetensors import safe_open
|
13 |
from compel import Compel, ReturnedEmbeddingsType
|
14 |
from safetensors.torch import load_file
|
|
|
15 |
|
16 |
model_id = "aipicasso/emix-0-5"
|
17 |
auth_token=os.environ["ACCESS_TOKEN"]
|