wholewhale commited on
Commit
b505ef9
1 Parent(s): f8e7afd

copy button

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,9 +74,9 @@ with gr.Blocks(css=css) as demo:
74
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
75
  with gr.Row():
76
  langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
77
- load_pdf = gr.Button("Load pdf to langchain")
78
 
79
- chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
80
  question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter")
81
  submit_btn = gr.Button("Send Message")
82
 
 
74
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
75
  with gr.Row():
76
  langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
77
+ load_pdf = gr.Button("Convert PDF to Magic AI language")
78
 
79
+ chatbot = gr.Chatbot([], elem_id="chatbot", show_copy_button=True).style(height=350)
80
  question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter")
81
  submit_btn = gr.Button("Send Message")
82