abhi1nandy2 commited on
Commit
f82f6a1
1 Parent(s): 4f3359c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -72,10 +72,11 @@ def respond(
72
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
73
  """
74
 
75
- initial_message = [("user", "Yo who dis Abhilash?")]
76
 
77
  demo = gr.ChatInterface(
78
  respond,
 
79
  # message=initial_message,
80
  additional_inputs=[
81
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
@@ -89,7 +90,7 @@ demo = gr.ChatInterface(
89
  # label="Top-p (nucleus sampling)",
90
  # ),
91
  ],
92
- value=initial_message
93
  )
94
 
95
 
 
72
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
73
  """
74
 
75
+ # initial_message = [("user", "Yo who dis Abhilash?")]
76
 
77
  demo = gr.ChatInterface(
78
  respond,
79
+ examples = ["Yo who dis Abhilash?"]
80
  # message=initial_message,
81
  additional_inputs=[
82
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
 
90
  # label="Top-p (nucleus sampling)",
91
  # ),
92
  ],
93
+ # value=initial_message
94
  )
95
 
96