try top image
Browse files113 unmodified lines114115116117118117118119120121122123124125126127128129113 unmodified lines
#msg.submit(respond, [msg, chatbot], [msg, chatbot]) #send.click(respond, [msg, chatbot], [msg, chatbot])chat_interface = gr.ChatInterface(fn=respond, title="🎁 Introducing WrapIT!", theme='hmb/amethyst', description=" **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.*")chat_interface.launch() with gr.Blocks(theme='hmb/amethyst') as demo: # Top image gr.Image(value="wrap_it_top_image.png", show_label=False, elem_id="top-image")
# Title and description gr.Markdown("## 🎁 Introducing WrapIT!") 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.*")
# Chat interface gr.ChatInterface(fn=respond)
demo.launch()app.py+12-2