Spaces:
Running
on
Zero
Running
on
Zero
remove title
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 |
-
|
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"
|
@@ -243,10 +243,6 @@ else:
|
|
243 |
pipe = None
|
244 |
|
245 |
with gr.Blocks(css="style.css") as demo:
|
246 |
-
title = gr.HTML(
|
247 |
-
f"""<h1><span>{DESCRIPTION}</span></h1>""",
|
248 |
-
elem_id="title",
|
249 |
-
)
|
250 |
gr.Markdown(
|
251 |
f"""Gradio demo for [Pony Diffusion V6](https://civitai.com/models/257749/pony-diffusion-v6-xl/) with image gallery, json support, and advanced options.""",
|
252 |
elem_id="subtitle",
|
|
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
+
|
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"
|
|
|
243 |
pipe = None
|
244 |
|
245 |
with gr.Blocks(css="style.css") as demo:
|
|
|
|
|
|
|
|
|
246 |
gr.Markdown(
|
247 |
f"""Gradio demo for [Pony Diffusion V6](https://civitai.com/models/257749/pony-diffusion-v6-xl/) with image gallery, json support, and advanced options.""",
|
248 |
elem_id="subtitle",
|