abi-codes commited on
Commit
fa44c33
·
verified ·
1 Parent(s): 3903325

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ def respond(message, history):
11
  #responses = ["Yes", "No"]
12
  #return random.choice(responses)
13
 
14
- messages= [{"role": "system", "content": "You are a mean chatbot that disagrees with everything the user says."}]
15
 
16
 
17
  if history:
@@ -24,6 +24,6 @@ def respond(message, history):
24
 
25
  return response['choices'][0]['message']['content'].strip()
26
 
27
- chatbot = gr.ChatInterface(respond, type="messages", title="Sage", description="Ask her anything! She is the best chatbot there is!", theme='earneleh/paris')
28
 
29
  chatbot.launch()
 
11
  #responses = ["Yes", "No"]
12
  #return random.choice(responses)
13
 
14
+ messages= [{"role": "system", "content": "Nice chat bot."}]
15
 
16
 
17
  if history:
 
24
 
25
  return response['choices'][0]['message']['content'].strip()
26
 
27
+ chatbot = gr.ChatInterface(respond, type="messages", title="Safe Eats", description="Want to find a safe place to eat! Well you have came to the right place!", theme='earneleh/paris')
28
 
29
  chatbot.launch()