Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,9 +8,7 @@ def respond(message, history):
|
|
| 8 |
messages = [{
|
| 9 |
"role": "system",
|
| 10 |
"content": (
|
| 11 |
-
"You are a friendly chatbot.
|
| 12 |
-
|
| 13 |
-
)
|
| 14 |
}]
|
| 15 |
|
| 16 |
if history:
|
|
@@ -28,8 +26,7 @@ def respond(message, history):
|
|
| 28 |
chatbot = gr.ChatInterface(
|
| 29 |
respond,
|
| 30 |
type="messages",
|
| 31 |
-
title="K-pop Chatbot"
|
| 32 |
-
description="Ask me anything about K-pop! 🎤🎶"
|
| 33 |
)
|
| 34 |
|
| 35 |
chatbot.launch()
|
|
|
|
| 8 |
messages = [{
|
| 9 |
"role": "system",
|
| 10 |
"content": (
|
| 11 |
+
"You are a friendly chatbot.")
|
|
|
|
|
|
|
| 12 |
}]
|
| 13 |
|
| 14 |
if history:
|
|
|
|
| 26 |
chatbot = gr.ChatInterface(
|
| 27 |
respond,
|
| 28 |
type="messages",
|
| 29 |
+
title="K-pop Chatbot"
|
|
|
|
| 30 |
)
|
| 31 |
|
| 32 |
chatbot.launch()
|