Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
76a8c47
1
Parent(s):
efee95c
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
# Ref: https://huggingface.co/spaces/multimodalart/cosxl
|
|
|
2 |
import gradio as gr
|
3 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
4 |
import torch
|
@@ -9,8 +10,6 @@ from compel import Compel, ReturnedEmbeddingsType
|
|
9 |
from huggingface_hub import hf_hub_download
|
10 |
from safetensors.torch import load_file
|
11 |
|
12 |
-
import spaces
|
13 |
-
|
14 |
model_id = "aipicasso/emi-2-5"
|
15 |
token=os.environ["TOKEN"]
|
16 |
|
|
|
1 |
# Ref: https://huggingface.co/spaces/multimodalart/cosxl
|
2 |
+
import spaces
|
3 |
import gradio as gr
|
4 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
5 |
import torch
|
|
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
from safetensors.torch import load_file
|
12 |
|
|
|
|
|
13 |
model_id = "aipicasso/emi-2-5"
|
14 |
token=os.environ["TOKEN"]
|
15 |
|