test
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"
|
@@ -181,10 +181,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
181 |
f"""<h1><span>{DESCRIPTION}</span></h1>""",
|
182 |
elem_id="title",
|
183 |
)
|
184 |
-
|
185 |
-
f"""Input your character description in the prompt with as much details as you want""",
|
186 |
-
elem_id="subtitle",
|
187 |
-
)
|
188 |
|
189 |
with gr.Group():
|
190 |
with gr.Row():
|
|
|
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"
|
|
|
181 |
f"""<h1><span>{DESCRIPTION}</span></h1>""",
|
182 |
elem_id="title",
|
183 |
)
|
184 |
+
|
|
|
|
|
|
|
185 |
|
186 |
with gr.Group():
|
187 |
with gr.Row():
|