abhi1nandy2 commited on
Commit
fdefcb0
·
verified ·
1 Parent(s): 15e4873

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -71,8 +71,12 @@ def respond(
71
  """
72
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
73
  """
 
 
 
74
  demo = gr.ChatInterface(
75
  respond,
 
76
  additional_inputs=[
77
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
78
  # gr.Slider(minimum=1, maximum=8192, value=512, step=1, label="Max new tokens"),
 
71
  """
72
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
73
  """
74
+
75
+ initial_message = [("Yo who dis Abhilash?", "")]
76
+
77
  demo = gr.ChatInterface(
78
  respond,
79
+ messages=initial_message,
80
  additional_inputs=[
81
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
82
  # gr.Slider(minimum=1, maximum=8192, value=512, step=1, label="Max new tokens"),