Update app.py
Browse files
app.py
CHANGED
@@ -274,7 +274,7 @@ def stream_chat(input_image: Image.Image, caption_type: str, caption_tone: str,
|
|
274 |
return caption
|
275 |
|
276 |
css = """
|
277 |
-
h1, h2, h3, h4, h5, h6, p, li, ul, ol, a
|
278 |
text-align: left;
|
279 |
}
|
280 |
.centered-image {
|
@@ -421,11 +421,11 @@ def login(username, password):
|
|
421 |
# Gradio interface
|
422 |
with gr.Blocks(theme="Hev832/Applio", css=css, fill_width=True, fill_height=True) as demo:
|
423 |
with gr.Tab("Welcome"):
|
424 |
-
with gr.Row(
|
425 |
-
with gr.Column(scale=2
|
426 |
gr.Markdown(
|
427 |
"""
|
428 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/
|
429 |
|
430 |
# 🎨 Underground Digital's Caption Captain: AI-Powered Art Inspiration
|
431 |
|
|
|
274 |
return caption
|
275 |
|
276 |
css = """
|
277 |
+
h1, h2, h3, h4, h5, h6, p, li, ul, ol, a {
|
278 |
text-align: left;
|
279 |
}
|
280 |
.centered-image {
|
|
|
421 |
# Gradio interface
|
422 |
with gr.Blocks(theme="Hev832/Applio", css=css, fill_width=True, fill_height=True) as demo:
|
423 |
with gr.Tab("Welcome"):
|
424 |
+
with gr.Row():
|
425 |
+
with gr.Column(scale=2):
|
426 |
gr.Markdown(
|
427 |
"""
|
428 |
+
<img src="https://cdn-uploads.huggingface.co/production/uploads/64740cf7485a7c8e1bd51ac9/7k-y4m0miZlV3IrS6mZp7.png" alt="UGD" width="250" style="max-width: 100%; height: auto; class="centered-image">
|
429 |
|
430 |
# 🎨 Underground Digital's Caption Captain: AI-Powered Art Inspiration
|
431 |
|