Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -177,9 +177,9 @@ def getadvertisement(topic):
|
|
177 |
|
178 |
|
179 |
with gr.Blocks() as demo:
|
180 |
-
gr.Markdown("<h1><center>T-Shirt
|
181 |
gr.Markdown(
|
182 |
-
"""Enter a prompt and get the t-shirt design. Use examples as a guide. \nImage generation via Stable Diffusion 2. When prompt is not provided we use the powerful AI model bigscience/bloom to generate a prompt
|
183 |
)
|
184 |
with gr.Row() as row:
|
185 |
with gr.Column():
|
@@ -192,7 +192,7 @@ with gr.Blocks() as demo:
|
|
192 |
|
193 |
|
194 |
btn.click(getadvertisement,inputs=[textbox], outputs=[output_image1,output_image2])
|
195 |
-
examples = gr.Examples(examples=['
|
196 |
inputs=[textbox])
|
197 |
|
198 |
|
|
|
177 |
|
178 |
|
179 |
with gr.Blocks() as demo:
|
180 |
+
gr.Markdown("<h1><center>T-Shirt Design Generator</center></h1>")
|
181 |
gr.Markdown(
|
182 |
+
"""Enter a prompt and get the t-shirt design. Use examples as a guide. \nImage generation via Stable Diffusion 2. When prompt is not provided we use the powerful AI model bigscience/bloom to generate a prompt.\nNote: If there is an error message just try after 30 secs"""
|
183 |
)
|
184 |
with gr.Row() as row:
|
185 |
with gr.Column():
|
|
|
192 |
|
193 |
|
194 |
btn.click(getadvertisement,inputs=[textbox], outputs=[output_image1,output_image2])
|
195 |
+
examples = gr.Examples(examples=['Batman in John Wick style','intricate skull concept art','heavy metal band album cover','abstract art of plants',],
|
196 |
inputs=[textbox])
|
197 |
|
198 |
|