try top image
Browse files
app.py
CHANGED
|
@@ -114,6 +114,16 @@ def respond(message,history):
|
|
| 114 |
|
| 115 |
#msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 116 |
#send.click(respond, [msg, chatbot], [msg, chatbot])
|
| 117 |
-
|
| 118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
|
|
|
|
|
|
| 114 |
|
| 115 |
#msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 116 |
#send.click(respond, [msg, chatbot], [msg, chatbot])
|
| 117 |
+
|
| 118 |
+
with gr.Blocks(theme='hmb/amethyst') as demo:
|
| 119 |
+
# Top image
|
| 120 |
+
gr.Image(value="wrap_it_top_image.png", show_label=False, elem_id="top-image")
|
| 121 |
+
|
| 122 |
+
# Title and description
|
| 123 |
+
gr.Markdown("## 🎁 Introducing WrapIT!")
|
| 124 |
+
gr.Markdown("**WrapIT** helps users find personalized gift ideas and craft thoughtful card messages by inputting details like the recipient's interests, celebration type, and budget ✨ *All you have to do is wrap it.*")
|
| 125 |
+
|
| 126 |
+
# Chat interface
|
| 127 |
+
gr.ChatInterface(fn=respond)
|
| 128 |
|
| 129 |
+
demo.launch()
|