Spaces:
Paused
Paused
ehristoforu
commited on
Commit
•
aa73c1e
1
Parent(s):
1b6282a
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import torch
|
|
12 |
from diffusers import StableDiffusionXLPipeline, KDPM2AncestralDiscreteScheduler, AutoencoderKL
|
13 |
|
14 |
DESCRIPTION = """
|
15 |
-
# Proteus ```V0.
|
16 |
|
17 |
Model by [dataautogpt3](https://huggingface.co/dataautogpt3)
|
18 |
|
@@ -31,7 +31,7 @@ device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
|
31 |
|
32 |
if torch.cuda.is_available():
|
33 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
34 |
-
"dataautogpt3/ProteusV0.
|
35 |
use_safetensors=False,
|
36 |
)
|
37 |
if ENABLE_CPU_OFFLOAD:
|
@@ -115,7 +115,7 @@ footer {
|
|
115 |
visibility: hidden
|
116 |
}
|
117 |
'''
|
118 |
-
with gr.Blocks(title="Proteus V0.
|
119 |
gr.Markdown(DESCRIPTION)
|
120 |
gr.DuplicateButton(
|
121 |
value="Duplicate Space for private use",
|
|
|
12 |
from diffusers import StableDiffusionXLPipeline, KDPM2AncestralDiscreteScheduler, AutoencoderKL
|
13 |
|
14 |
DESCRIPTION = """
|
15 |
+
# Proteus ```V0.3```
|
16 |
|
17 |
Model by [dataautogpt3](https://huggingface.co/dataautogpt3)
|
18 |
|
|
|
31 |
|
32 |
if torch.cuda.is_available():
|
33 |
pipe = StableDiffusionXLPipeline.from_pretrained(
|
34 |
+
"dataautogpt3/ProteusV0.3",
|
35 |
use_safetensors=False,
|
36 |
)
|
37 |
if ENABLE_CPU_OFFLOAD:
|
|
|
115 |
visibility: hidden
|
116 |
}
|
117 |
'''
|
118 |
+
with gr.Blocks(title="Proteus V0.3", css=css) as demo:
|
119 |
gr.Markdown(DESCRIPTION)
|
120 |
gr.DuplicateButton(
|
121 |
value="Duplicate Space for private use",
|