Spaces:
Running
on
Zero
Running
on
Zero
AngelBottomless
commited on
Commit
•
7a93c84
1
Parent(s):
914bc5d
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ from diffusers import StableDiffusionXLPipeline, StableDiffusionXLImg2ImgPipelin
|
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
-
DESCRIPTION = "
|
20 |
if not torch.cuda.is_available():
|
21 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU. </p>"
|
22 |
IS_COLAB = utils.is_google_colab() or os.getenv("IS_COLAB") == "1"
|
@@ -30,7 +30,7 @@ OUTPUT_DIR = os.getenv("OUTPUT_DIR", "./outputs")
|
|
30 |
|
31 |
MODEL = os.getenv(
|
32 |
"MODEL",
|
33 |
-
"
|
34 |
)
|
35 |
|
36 |
torch.backends.cudnn.deterministic = True
|
@@ -212,7 +212,7 @@ with gr.Blocks(css="style.css", theme="NoCrypt/miku@1.2.1") as demo:
|
|
212 |
elem_id="title",
|
213 |
)
|
214 |
gr.Markdown(
|
215 |
-
f"""Gradio demo for [
|
216 |
elem_id="subtitle",
|
217 |
)
|
218 |
gr.DuplicateButton(
|
|
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
+
DESCRIPTION = "Illustrious XL v0.1"
|
20 |
if not torch.cuda.is_available():
|
21 |
DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU. </p>"
|
22 |
IS_COLAB = utils.is_google_colab() or os.getenv("IS_COLAB") == "1"
|
|
|
30 |
|
31 |
MODEL = os.getenv(
|
32 |
"MODEL",
|
33 |
+
"OnomaAIResearch/Illustrious-xl-early-release-v0",
|
34 |
)
|
35 |
|
36 |
torch.backends.cudnn.deterministic = True
|
|
|
212 |
elem_id="title",
|
213 |
)
|
214 |
gr.Markdown(
|
215 |
+
f"""Gradio demo for [OnomaAIResearch/Illustrious-xl-v0.1](2024-9/30 RELEASE) 2024-9/30 RELEASE""",
|
216 |
elem_id="subtitle",
|
217 |
)
|
218 |
gr.DuplicateButton(
|