peterkros commited on
Commit
916c578
·
verified ·
1 Parent(s): 1dbc878

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -43,7 +43,8 @@ def add_file(history, file):
43
 
44
  def initialize_chat():
45
  # This function initializes the chat with a "Hello" message.
46
- return [(None, "Hello my name is Andrea I'm a FunDoo Chatbot and will help you wth your learning jurney. Select question from Below to start!")]
 
47
 
48
  def generate_response(selected_question):
49
  prompt = selected_question # Ensure selected_question is a string
@@ -67,6 +68,7 @@ with gr.Blocks() as demo:
67
  initialize_chat(),
68
  elem_id="chatbot",
69
  bubble_full_width=False,
 
70
  avatar_images=(None, os.path.join(os.getcwd(), "avatar.png"))
71
  )
72
 
 
43
 
44
  def initialize_chat():
45
  # This function initializes the chat with a "Hello" message.
46
+ return [(None, "Hello, my name is <strong>Andrea</strong>, I'm a <em>Friendly Chatbot</em> and will help you with your learning journey. <br>Select a question from below to start!")]
47
+
48
 
49
  def generate_response(selected_question):
50
  prompt = selected_question # Ensure selected_question is a string
 
68
  initialize_chat(),
69
  elem_id="chatbot",
70
  bubble_full_width=False,
71
+ label= "Safe Chatbot v1"
72
  avatar_images=(None, os.path.join(os.getcwd(), "avatar.png"))
73
  )
74