ehristoforu commited on
Commit
8b58f11
Β·
1 Parent(s): 6009d20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -20
app.py CHANGED
@@ -33,24 +33,6 @@ def predict(message, history):
33
 
34
  title = "πŸ•Š Chat with Pigeon"
35
 
36
- description = \
37
- """
38
- πŸ’¬ This space is powered by **Huggingface Hosting**.
39
-
40
- πŸš€ This space runs **very fast** even on **CPU**.
41
-
42
- 🎠 You get totally unique and creative answers.
43
-
44
- 🌍 PigeonChat is available worldwide in over **160 languages**.
45
-
46
- πŸ” PigeonChat is powered by **open source** and is completely **private**.
47
-
48
- πŸ‘₯️️ This demo is by **Evgeniy Hristoforu** (**OpenSkyML**).
49
-
50
-
51
- """
52
-
53
-
54
  examples=[
55
  'Hello there! How are you doing?',
56
  'Can you explain briefly to me what is the Python programming language?',
@@ -59,6 +41,6 @@ examples=[
59
  "Write a 100-word article on 'Benefits of Open-Source in AI research'",
60
  ]
61
 
62
- chatbot = gr.Chatbot(label="PigeonChat",avatar_images=('user.png', 'bot.png'), min_width=260, show_share_button=False, show_copy_button=True, likeable=True, bubble_full_width = False)
63
 
64
- gr.ChatInterface(predict, chatbot = chatbot, title=title, description=description, examples=examples).launch(show_error=False, show_api=False)
 
33
 
34
  title = "πŸ•Š Chat with Pigeon"
35
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  examples=[
37
  'Hello there! How are you doing?',
38
  'Can you explain briefly to me what is the Python programming language?',
 
41
  "Write a 100-word article on 'Benefits of Open-Source in AI research'",
42
  ]
43
 
44
+ chatbot = gr.Chatbot(label="PigeonChat", avatar_images["user.png", "bot.png"] min_width=260, show_share_button=False, show_copy_button=True, likeable=True, layout="panel")
45
 
46
+ gr.ChatInterface(predict, chatbot = chatbot, title=title, examples=examples).launch(show_error=False, show_api=False)