Spaces:
Sleeping
Sleeping
adding a title and description
Browse files
app.py
CHANGED
|
@@ -7,6 +7,12 @@ def yes_no_response(message, history):
|
|
| 7 |
|
| 8 |
print("Hello, world")
|
| 9 |
|
| 10 |
-
chatbot = gr.ChatInterface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
chatbot.launch()
|
|
|
|
|
|
| 7 |
|
| 8 |
print("Hello, world")
|
| 9 |
|
| 10 |
+
chatbot = gr.ChatInterface(
|
| 11 |
+
yes_no_response,
|
| 12 |
+
type="messages",
|
| 13 |
+
title="Yes or No Chatbot",
|
| 14 |
+
description="This simple chatbot responds with either 'Yes' or 'No' to any message you send. Have fun!"
|
| 15 |
+
)
|
| 16 |
|
| 17 |
chatbot.launch()
|
| 18 |
+
|