RaniRahbani commited on
Commit
756d055
·
verified ·
1 Parent(s): 3ea6c53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -53,10 +53,8 @@ def respond(
53
  """
54
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
55
  """
56
- demo = gr.Interface(
57
  fn=respond,
58
- chatbot=gr.Chatbot(value=[(None, "Hi there! I'm your Dietician Assistant, here to help you with general advice on diet, "
59
- "nutrition, and healthy eating habits. Let's explore your questions.")],),
60
  # additional_inputs=[
61
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
62
  # gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
 
53
  """
54
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
55
  """
56
+ demo = gr.chatInterface(
57
  fn=respond,
 
 
58
  # additional_inputs=[
59
  # gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
60
  # gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),