Maia Pelletier commited on
Commit
a5e7a1a
·
1 Parent(s): 0f1de32

change name of chatbot

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -395,14 +395,14 @@ custom_css = """
395
  }
396
  """
397
 
398
- with gr.Blocks(title="Ask AgriWise AI", css=custom_css) as app:
399
- gr.Markdown("<h1 style='color: #24372b; font-size: 2.5rem;'>👤 Ask AgriWise AI</h1>")
400
-
401
-
402
  chatbot_interface = gr.Chatbot(
403
  label="Chat",
404
  height=500,
405
- value=[{"role": "assistant", "content": "Welcome to AskAgriWise AI! Ask me any questions you have about organic certification and operation in Canada."}]
406
  )
407
 
408
  with gr.Row():
@@ -443,7 +443,7 @@ with gr.Blocks(title="Ask AgriWise AI", css=custom_css) as app:
443
  outputs=[msg, chatbot_interface]
444
  )
445
  def clear_chat():
446
- return [{"role": "assistant", "content": "Welcome to AskAgriWise AI! Ask me any questions you have about organic certification and operation in Canada."}], ""
447
 
448
  clear_btn.click(clear_chat, outputs=[chatbot_interface, msg])
449
 
 
395
  }
396
  """
397
 
398
+ with gr.Blocks(title="Organic Certification Assistant", css=custom_css) as app:
399
+ gr.Markdown("<h1 style='color: #24372b; font-size: 2.5rem;'>👤 Organic Certification Assistant</h1>")
400
+
401
+
402
  chatbot_interface = gr.Chatbot(
403
  label="Chat",
404
  height=500,
405
+ value=[{"role": "assistant", "content": "Welcome to the Organic Certification Assistant! Ask me any questions you have about organic certification and operation in Canada."}]
406
  )
407
 
408
  with gr.Row():
 
443
  outputs=[msg, chatbot_interface]
444
  )
445
  def clear_chat():
446
+ return [{"role": "assistant", "content": "Welcome to the Organic Certification Assistant! Ask me any questions you have about organic certification and operation in Canada."}], ""
447
 
448
  clear_btn.click(clear_chat, outputs=[chatbot_interface, msg])
449