ColeGuion commited on
Commit
5bdcf36
1 Parent(s): e9119a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -46,9 +46,7 @@ def respond(message, history, max_length, min_length, max_new_tokens, num_beams,
46
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
47
  """
48
  demo = gr.ChatInterface(
49
- fn=respond,
50
- examples=[{"text": "hello"}, {"text": "hola"}, {"text": "merhaba"}],
51
- title="Echo Bot",
52
  additional_inputs=[
53
  #gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
54
  gr.Slider(minimum=1, maximum=256, value=100, step=1, label="Max Length"),
 
46
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
47
  """
48
  demo = gr.ChatInterface(
49
+ respond,
 
 
50
  additional_inputs=[
51
  #gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
52
  gr.Slider(minimum=1, maximum=256, value=100, step=1, label="Max Length"),