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"
|
@@ -182,14 +182,10 @@ with gr.Blocks(css="style.css") as demo:
|
|
182 |
elem_id="title",
|
183 |
)
|
184 |
gr.Markdown(
|
185 |
-
f"""
|
186 |
elem_id="subtitle",
|
187 |
)
|
188 |
-
|
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 = "AI Character Generator"
|
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"
|
|
|
182 |
elem_id="title",
|
183 |
)
|
184 |
gr.Markdown(
|
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():
|
191 |
prompt = gr.Text(
|