AbstractPhil commited on
Commit
01d8622
·
1 Parent(s): bbabb73

probably still not working

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -492,7 +492,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
492
  value=""
493
  )
494
 
495
- # Chat interface
496
  chat = gr.ChatInterface(
497
  fn=generate_response,
498
  additional_inputs=[
@@ -509,9 +509,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
509
  ["Solve: If a train travels 120 miles in 2 hours, what is its average speed?"],
510
  ],
511
  cache_examples=False,
512
- retry_btn="Retry",
513
- undo_btn="Undo",
514
- clear_btn="Clear",
515
  )
516
 
517
  gr.Markdown(
 
492
  value=""
493
  )
494
 
495
+ # Chat interface - using only valid parameters
496
  chat = gr.ChatInterface(
497
  fn=generate_response,
498
  additional_inputs=[
 
509
  ["Solve: If a train travels 120 miles in 2 hours, what is its average speed?"],
510
  ],
511
  cache_examples=False,
 
 
 
512
  )
513
 
514
  gr.Markdown(