playing around with title
Browse files
app.py
CHANGED
|
@@ -4,8 +4,8 @@ import random
|
|
| 4 |
def echo(message, history):
|
| 5 |
my_list = ["yes", "no"]
|
| 6 |
return random.choice(my_list)
|
| 7 |
-
|
| 8 |
-
chatbot =
|
| 9 |
|
| 10 |
|
| 11 |
chatbot.launch()
|
|
|
|
| 4 |
def echo(message, history):
|
| 5 |
my_list = ["yes", "no"]
|
| 6 |
return random.choice(my_list)
|
| 7 |
+
# gr.ChatInterface(echo, type = "messages")
|
| 8 |
+
chatbot = ChatInterface(fn=echo, type="messages", examples=["hello", "hola", "merhaba"], title="Echo Bot")
|
| 9 |
|
| 10 |
|
| 11 |
chatbot.launch()
|