datascienceharp commited on
Commit
4f6ef49
Β·
1 Parent(s): a686a35

update textbox lines for context

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -756,9 +756,12 @@ def create_demo():
756
  clear_btn.click(lambda: ([], ""), outputs=[chatbot, msg])
757
 
758
  with gr.Tab("πŸ” Debug"):
759
- debug_input = gr.Textbox(label="Enter your question", lines=1)
 
 
 
760
  context_btn = gr.Button("πŸ” Show Context", variant="primary")
761
- debug_output = gr.Textbox(label="Retrieved Context", lines=15)
762
 
763
  context_btn.click(get_context_fn, inputs=debug_input, outputs=debug_output)
764
 
 
756
  clear_btn.click(lambda: ([], ""), outputs=[chatbot, msg])
757
 
758
  with gr.Tab("πŸ” Debug"):
759
+ debug_input = gr.Textbox(
760
+ label="Enter your question",
761
+ lines=1,
762
+ )
763
  context_btn = gr.Button("πŸ” Show Context", variant="primary")
764
+ debug_output = gr.Textbox(label="Retrieved Context", lines=50)
765
 
766
  context_btn.click(get_context_fn, inputs=debug_input, outputs=debug_output)
767