SonyaHas commited on
Commit
bc20dce
·
verified ·
1 Parent(s): 00b989a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,9 +1,7 @@
1
  import gradio as gr
2
  import random
3
  # import lines go at the top! Any libraries I need to import go up here^^
4
-
5
- title: "I am the your bestie"
6
- description: "I will serve you"
7
 
8
  def yes_or_no(message, history):
9
  return random.choice(['Yes', 'No', 'Of course', 'Try again', 'No, better luck next time!', "I think not", "Absolutely, yes!", ])
@@ -14,4 +12,7 @@ print("Hello World")
14
  chatbot = gr.ChatInterface(yes_or_no, type = "messages")
15
  # defining my chatbot so that the user can interact and see their conversation history and send new messages
16
 
 
 
 
17
  chatbot.launch()
 
1
  import gradio as gr
2
  import random
3
  # import lines go at the top! Any libraries I need to import go up here^^
4
+
 
 
5
 
6
  def yes_or_no(message, history):
7
  return random.choice(['Yes', 'No', 'Of course', 'Try again', 'No, better luck next time!', "I think not", "Absolutely, yes!", ])
 
12
  chatbot = gr.ChatInterface(yes_or_no, type = "messages")
13
  # defining my chatbot so that the user can interact and see their conversation history and send new messages
14
 
15
+ title: "I am the your bestie"
16
+ description: "I will serve you"
17
+
18
  chatbot.launch()