aminazak commited on
Commit
9a5bc4c
·
verified ·
1 Parent(s): 0e47413

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -48,11 +48,14 @@ def chat_interface_function(msg, history):
48
 
49
  gr.ChatInterface(
50
  fn=chat_interface_function,
 
 
 
 
51
  theme="soft",
52
  title="Brochure Generator",
53
  description="Paste a URL in a correct way and press Enter to get a **markdown-style summary** of the site.",
54
- user_avatar="user_avatar.png",
55
- bot_avatar="bot_avatar.png",
56
  submit_btn="Generate Brochure",
57
  examples=[
58
  "https://apple.com",
 
48
 
49
  gr.ChatInterface(
50
  fn=chat_interface_function,
51
+ chatbot=gr.Chatbot(
52
+ type="messages",
53
+ avatar_images=["user_avatar.png", "bot_avatar.png"]
54
+ ),
55
  theme="soft",
56
  title="Brochure Generator",
57
  description="Paste a URL in a correct way and press Enter to get a **markdown-style summary** of the site.",
58
+
 
59
  submit_btn="Generate Brochure",
60
  examples=[
61
  "https://apple.com",