Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
114 |
with gr.Column(elem_id="prompt-container"):
|
115 |
with gr.Group():
|
116 |
with gr.Row():
|
117 |
-
text_prompt = gr.Textbox(label="Image Prompt", placeholder="Enter a prompt here", lines=2, show_copy_button = True, elem_id="prompt-text-input")
|
118 |
with gr.Row():
|
119 |
with gr.Accordion("🎨 Lora trigger words", open=False):
|
120 |
gr.Markdown("""
|
@@ -158,7 +158,7 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
158 |
|
159 |
# Add a button to trigger the image generation
|
160 |
with gr.Row():
|
161 |
-
text_button = gr.Button("Generate Image", variant='primary', elem_id="gen-button")
|
162 |
clear_prompt =gr.Button("Clear Prompt 🗑️",variant="primary", elem_id="clear_button")
|
163 |
clear_prompt.click(lambda: (None), None, [text_prompt], queue=False, show_api=False)
|
164 |
|
|
|
114 |
with gr.Column(elem_id="prompt-container"):
|
115 |
with gr.Group():
|
116 |
with gr.Row():
|
117 |
+
text_prompt = gr.Textbox(label="Image Prompt ✍️", placeholder="Enter a prompt here", lines=2, show_copy_button = True, elem_id="prompt-text-input")
|
118 |
with gr.Row():
|
119 |
with gr.Accordion("🎨 Lora trigger words", open=False):
|
120 |
gr.Markdown("""
|
|
|
158 |
|
159 |
# Add a button to trigger the image generation
|
160 |
with gr.Row():
|
161 |
+
text_button = gr.Button("Generate Image 🎨", variant='primary', elem_id="gen-button")
|
162 |
clear_prompt =gr.Button("Clear Prompt 🗑️",variant="primary", elem_id="clear_button")
|
163 |
clear_prompt.click(lambda: (None), None, [text_prompt], queue=False, show_api=False)
|
164 |
|