forgot to call gr
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ 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()
|
|
|
|
| 5 |
my_list = ["yes", "no"]
|
| 6 |
return random.choice(my_list)
|
| 7 |
# gr.ChatInterface(echo, type = "messages")
|
| 8 |
+
chatbot = gr.ChatInterface(fn=echo, type="messages", examples=["hello", "hola", "merhaba"], title="Echo Bot")
|
| 9 |
|
| 10 |
|
| 11 |
chatbot.launch()
|