maahikachitagi commited on
Commit
dc1b276
·
verified ·
1 Parent(s): bbd7406

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
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
- gr.themes.builder()
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)