Update app.py
Browse files92 unmodified lines9394959697989910010110210310410510610710810911011111211311411511611711811912092 unmodified lineswith gr.Blocks(theme='hmb/amethyst') as demo:with gr.Row(equal_height=True):with gr.Column(scale=10):gr.Markdown("""# 🎁 Introducing WrapIT!**WrapIT** helps users find personalized gift ideas and craft thoughtful card messagesby inputting details like the recipient's interests, celebration type, and budget.✨ *All you have to do is wrap it.*""")gr.ChatInterface(respond, type='messages')chatbot = gr.Chatbot()msg = gr.Textbox(placeholder="Say hi to WrapIT here!", label="Message")send = gr.Button("Send")msg.submit(respond, [msg, chatbot], [msg, chatbot])send.click(respond, [msg, chatbot], [msg, chatbot])demo.launch()92 unmodified lines9394959697989910010110210310410510610710810911011111211311411511611711811992 unmodified lines#with gr.Blocks(theme='hmb/amethyst') as demo:# with gr.Row(equal_height=True):# with gr.Column(scale=10):# """# # 🎁 Introducing WrapIT!# **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.*# """# )# gr.ChatInterface(respond, type='messages')#chatbot = gr.Chatbot()#msg = gr.Textbox(placeholder="Say hi to WrapIT here!", label="Message")#send = gr.Button("Send")#msg.submit(respond, [msg, chatbot], [msg, chatbot])#send.click(respond, [msg, chatbot], [msg, chatbot])chat_interface = gr.ChatInterface(fn=respond, title="🎁 WrapIT!", description="WrapIT helps you find great gift ideas based on your input.")chat_interface.launch()
app.py+20-21