Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,6 +25,12 @@ def echo(message, history):
|
|
| 25 |
choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]
|
| 26 |
response = random.choice(choices)
|
| 27 |
return response
|
| 28 |
-
|
| 29 |
-
chatbot = gr.ChatInterface(respond, type = "messages"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
chatbot.launch(debug=True)
|
|
|
|
| 25 |
choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]
|
| 26 |
response = random.choice(choices)
|
| 27 |
return response
|
| 28 |
+
|
| 29 |
+
chatbot = gr.ChatInterface(respond, type = "messages",
|
| 30 |
+
title="🤖 AI Study Buddy",
|
| 31 |
+
description="Ask me anything about AI, ML, or Python!",
|
| 32 |
+
theme="dark",
|
| 33 |
+
chatbot=gr.Chatbot(show_label=False),
|
| 34 |
+
submit_btn="Send",
|
| 35 |
+
stop_btn="Stop")
|
| 36 |
chatbot.launch(debug=True)
|