Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -441,7 +441,7 @@ with gr.Blocks(theme="Hev832/Applio", css=css, fill_width=True, fill_height=True
|
|
441 |
with gr.Column(scale=2, elem_classes="welcome-content"):
|
442 |
gr.Markdown(
|
443 |
"""
|
444 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/
|
445 |
|
446 |
# 🎨 Underground Digital's Caption Captain: AI-Powered Art Inspiration
|
447 |
|
@@ -603,13 +603,13 @@ with gr.Blocks(theme="Hev832/Applio", css=css, fill_width=True, fill_height=True
|
|
603 |
info="Choose a color effect to alter the overall color palette of the image."
|
604 |
)
|
605 |
|
606 |
-
run_button = gr.Button("Make My Caption!")
|
607 |
-
|
608 |
with gr.Column():
|
609 |
error_message = gr.Markdown(visible=False)
|
610 |
output_prompt = gr.Textbox(label="Prompt that was used")
|
611 |
output_caption = gr.Textbox(label="Generated Caption")
|
612 |
|
|
|
|
|
613 |
def update_style_options(caption_type):
|
614 |
return gr.update(visible=caption_type == "Style Prompt")
|
615 |
|
|
|
441 |
with gr.Column(scale=2, elem_classes="welcome-content"):
|
442 |
gr.Markdown(
|
443 |
"""
|
444 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/wbJq4-vjkSquskCjKlRfb.png" alt="UDG" width="250" style="max-width: 100%; height: auto; class="centered-image">
|
445 |
|
446 |
# 🎨 Underground Digital's Caption Captain: AI-Powered Art Inspiration
|
447 |
|
|
|
603 |
info="Choose a color effect to alter the overall color palette of the image."
|
604 |
)
|
605 |
|
|
|
|
|
606 |
with gr.Column():
|
607 |
error_message = gr.Markdown(visible=False)
|
608 |
output_prompt = gr.Textbox(label="Prompt that was used")
|
609 |
output_caption = gr.Textbox(label="Generated Caption")
|
610 |
|
611 |
+
run_button = gr.Button("Make My Caption!")
|
612 |
+
|
613 |
def update_style_options(caption_type):
|
614 |
return gr.update(visible=caption_type == "Style Prompt")
|
615 |
|