Code4ueru commited on
Commit
9b14d7b
·
verified ·
1 Parent(s): 657c838

Added randomizer thingy

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,8 +4,7 @@ import random
4
  def echo(message, history):
5
  choices = ["Mhm", "nah fam"]
6
  random_choice = random.choice(choices)
7
- print("Hello, World!")
8
- return.message
9
 
10
  chatbot = gr.ChatInterface(echo, type = "messages")
11
 
 
4
  def echo(message, history):
5
  choices = ["Mhm", "nah fam"]
6
  random_choice = random.choice(choices)
7
+ return message
 
8
 
9
  chatbot = gr.ChatInterface(echo, type = "messages")
10