lekkalar commited on
Commit
55f43ae
1 Parent(s): 128ed30

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -71,8 +71,8 @@ title = """
71
  <div style="text-align: center;max-width: 700px;">
72
  <h1>Chatbot for PDFs - GPT-4</h1>
73
  <p style="text-align: center;">Upload a .PDF, click the "Load PDF to LangChain" button, <br />
74
- wait for the Status to show Ready, start typing your questions <br />
75
- The app is set to store chat history and is built on GPT-4</p>
76
  </div>
77
  """
78
 
@@ -86,7 +86,7 @@ with gr.Blocks(css=css) as demo:
86
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
87
  with gr.Row():
88
  langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
89
- load_pdf = gr.Button("Load pdf to langchain")
90
 
91
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
92
  question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")
 
71
  <div style="text-align: center;max-width: 700px;">
72
  <h1>Chatbot for PDFs - GPT-4</h1>
73
  <p style="text-align: center;">Upload a .PDF, click the "Load PDF to LangChain" button, <br />
74
+ Wait for the Status to show Ready, start typing your questions. <br />
75
+ The app is set to store chat-history and is built on GPT-4</p>
76
  </div>
77
  """
78
 
 
86
  pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
87
  with gr.Row():
88
  langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
89
+ load_pdf = gr.Button("Load PDF to LangChain")
90
 
91
  chatbot = gr.Chatbot([], elem_id="chatbot").style(height=350)
92
  question = gr.Textbox(label="Question", placeholder="Type your question and hit Enter ")