Spaces:
Running
on
Zero
Running
on
Zero
Groqcin.
commited on
Commit
•
f651f3c
1
Parent(s):
781a1d6
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 = "RealVis
|
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"
|
@@ -181,15 +181,6 @@ with gr.Blocks(css="style.css") as demo:
|
|
181 |
f"""<h1><span>{DESCRIPTION}</span></h1>""",
|
182 |
elem_id="title",
|
183 |
)
|
184 |
-
gr.Markdown(
|
185 |
-
f"""Gradio demo for ([RealVis XL]https://huggingface.co/SG161222/RealVisXL_V4.0/)""",
|
186 |
-
elem_id="subtitle",
|
187 |
-
)
|
188 |
-
gr.DuplicateButton(
|
189 |
-
value="Duplicate Space for private use",
|
190 |
-
elem_id="duplicate-button",
|
191 |
-
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
192 |
-
)
|
193 |
with gr.Group():
|
194 |
with gr.Row():
|
195 |
prompt = gr.Text(
|
|
|
16 |
logging.basicConfig(level=logging.INFO)
|
17 |
logger = logging.getLogger(__name__)
|
18 |
|
19 |
+
DESCRIPTION = "Groqcin T2I (RealVis)"
|
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"
|
|
|
181 |
f"""<h1><span>{DESCRIPTION}</span></h1>""",
|
182 |
elem_id="title",
|
183 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
with gr.Group():
|
185 |
with gr.Row():
|
186 |
prompt = gr.Text(
|