Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,11 +34,18 @@ def random_response(message, history):
|
|
| 34 |
random.choice(responses)
|
| 35 |
print(random_response)
|
| 36 |
|
| 37 |
-
chatbot = gr.ChatInterface(respond,
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
chatbot.launch(debug=True)
|
| 44 |
|
|
|
|
| 34 |
random.choice(responses)
|
| 35 |
print(random_response)
|
| 36 |
|
| 37 |
+
chatbot = gr.ChatInterface(respond,
|
| 38 |
+
type = "messages",
|
| 39 |
+
theme = gr.themes.Ocean(
|
| 40 |
+
primary_hue="pink",
|
| 41 |
+
secondary_hue="pink",
|
| 42 |
+
neutral_hue="fuchsia",
|
| 43 |
+
),
|
| 44 |
+
title = "Meet Milo!",
|
| 45 |
+
description = "That nerdy boy from high school.",
|
| 46 |
+
inputs=gr.Textbox(label="Ask me anything about KWK camp!"),
|
| 47 |
+
outputs=gr.Textbox(label="KWK Bot says...")
|
| 48 |
+
)
|
| 49 |
|
| 50 |
chatbot.launch(debug=True)
|
| 51 |
|