Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ css = """
|
|
| 69 |
"""
|
| 70 |
|
| 71 |
with gr.Blocks(css=css) as demo:
|
| 72 |
-
gr.Markdown("#
|
| 73 |
gr.Markdown("Ask me what to wear and I'll suggest clothing with images from the database.")
|
| 74 |
|
| 75 |
user_input = gr.Textbox(label="Your outfit requirements",
|
|
@@ -77,7 +77,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 77 |
elem_id="input-box")
|
| 78 |
with gr.Row():
|
| 79 |
chatbot = gr.Chatbot(label="Chatbot Conversation", elem_id="chatbot-box")
|
| 80 |
-
gallery = gr.Gallery(label="Recommended Clothing", columns=
|
| 81 |
user_input.submit(fn=respond, inputs=[user_input, chatbot], outputs=[chatbot, gallery])
|
| 82 |
|
| 83 |
demo.launch()
|
|
|
|
| 69 |
"""
|
| 70 |
|
| 71 |
with gr.Blocks(css=css) as demo:
|
| 72 |
+
gr.Markdown("# Fashionista - Your Personal Style Assistant")
|
| 73 |
gr.Markdown("Ask me what to wear and I'll suggest clothing with images from the database.")
|
| 74 |
|
| 75 |
user_input = gr.Textbox(label="Your outfit requirements",
|
|
|
|
| 77 |
elem_id="input-box")
|
| 78 |
with gr.Row():
|
| 79 |
chatbot = gr.Chatbot(label="Chatbot Conversation", elem_id="chatbot-box")
|
| 80 |
+
gallery = gr.Gallery(label="Recommended Clothing", columns=2, height='auto', elem_id="gallery-box")
|
| 81 |
user_input.submit(fn=respond, inputs=[user_input, chatbot], outputs=[chatbot, gallery])
|
| 82 |
|
| 83 |
demo.launch()
|