Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
efee95c
1
Parent(s):
02eec09
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
# Ref: https://huggingface.co/spaces/multimodalart/cosxl
|
2 |
import gradio as gr
|
3 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
4 |
-
import spaces
|
5 |
import torch
|
6 |
import os
|
7 |
|
@@ -10,6 +9,8 @@ from compel import Compel, ReturnedEmbeddingsType
|
|
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 |
|
|
|
1 |
# Ref: https://huggingface.co/spaces/multimodalart/cosxl
|
2 |
import gradio as gr
|
3 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
|
|
4 |
import torch
|
5 |
import os
|
6 |
|
|
|
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 |
|