Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -185,6 +185,8 @@ with gr.Blocks() as demo:
|
|
185 |
with gr.Column():
|
186 |
textbox = gr.Textbox(placeholder="Enter prompt...", lines=1,label='Your prompt (Optional)')
|
187 |
btn = gr.Button("Generate")
|
|
|
|
|
188 |
with gr.Column():
|
189 |
output_image1 = gr.components.Image(label="Your t-shirt")
|
190 |
with gr.Column():
|
@@ -192,8 +194,7 @@ with gr.Blocks() as demo:
|
|
192 |
|
193 |
|
194 |
btn.click(getadvertisement,inputs=[textbox], outputs=[output_image1,output_image2])
|
195 |
-
|
196 |
-
inputs=[textbox])
|
197 |
|
198 |
|
199 |
demo.launch()
|
|
|
185 |
with gr.Column():
|
186 |
textbox = gr.Textbox(placeholder="Enter prompt...", lines=1,label='Your prompt (Optional)')
|
187 |
btn = gr.Button("Generate")
|
188 |
+
examples = gr.Examples(examples=['Batman in John Wick style','intricate skull concept art','heavy metal band album cover','abstract art of plants',],
|
189 |
+
inputs=[textbox])
|
190 |
with gr.Column():
|
191 |
output_image1 = gr.components.Image(label="Your t-shirt")
|
192 |
with gr.Column():
|
|
|
194 |
|
195 |
|
196 |
btn.click(getadvertisement,inputs=[textbox], outputs=[output_image1,output_image2])
|
197 |
+
|
|
|
198 |
|
199 |
|
200 |
demo.launch()
|