pd4consultingmyles commited on
Commit
8f4dfc5
·
1 Parent(s): f32d64c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -18,7 +18,8 @@ with gr.Blocks() as demo:
18
  gr.Markdown(
19
  '''
20
  # Customized Atlanta Chatbot
21
- This chatbot uses the Atlantaga.gov website as its custom knowledge base
 
22
  '''
23
  )
24
  chatbot = gr.Chatbot()
@@ -41,7 +42,7 @@ with gr.Blocks() as demo:
41
 
42
  def ask_gpt(message, messages_history):
43
  messages_history += [{"role": "user", "content": message}]
44
- query_str = "Who is the major of Atlanta?"
45
  QA_PROMPT_TMPL = (
46
  "You are an AI specialized in Atlanta.\n"
47
  "If a query does not involve Atlanta, say you can't answer the query and make the answer related to Atlanta.\n"
 
18
  gr.Markdown(
19
  '''
20
  # Customized Atlanta Chatbot
21
+ This chatbot uses the Atlantaga.gov website as its custom knowledge base.
22
+ Created by PD4Solutions
23
  '''
24
  )
25
  chatbot = gr.Chatbot()
 
42
 
43
  def ask_gpt(message, messages_history):
44
  messages_history += [{"role": "user", "content": message}]
45
+ query_str = "Who is the mayor of Atlanta?"
46
  QA_PROMPT_TMPL = (
47
  "You are an AI specialized in Atlanta.\n"
48
  "If a query does not involve Atlanta, say you can't answer the query and make the answer related to Atlanta.\n"