ABBNikit commited on
Commit
29030ff
1 Parent(s): 8aa3ebb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -167,7 +167,7 @@ with block:
167
 
168
  gr.Markdown("<h1><center>Lightweight PDF / web page QA bot</center></h1>")
169
 
170
- gr.Markdown("Chat with PDF, web page or (new) csv/Excel documents. The default is a small model (Flan Alpaca), that can only answer specific questions that are answered in the text. It cannot give overall impressions of, or summarise the document. The alternative (Mistral Open Orca (larger, slow)), can reason a little better, but is much slower (See Advanced tab).\n\nBy default the Lambeth Borough Plan '[Lambeth 2030 : Our Future, Our Lambeth](https://www.lambeth.gov.uk/better-fairer-lambeth/projects/lambeth-2030-our-future-our-lambeth)' is loaded. If you want to talk about another document or web page, please select from the second tab. If switching topic, please click the 'Clear chat' button.\n\nCaution: This is a public app. Please ensure that the document you upload is not sensitive is any way as other users may see it! Also, please note that LLM chatbots may give incomplete or incorrect information, so please use with care.")
171
 
172
  with gr.Row():
173
  current_source = gr.Textbox(label="Current data source(s)", value="Lambeth_2030-Our_Future_Our_Lambeth.pdf", scale = 10)
@@ -233,7 +233,7 @@ with block:
233
 
234
 
235
  gr.HTML(
236
- "<center>This app is based on the models Flan Alpaca and Mistral Open Orca. It powered by Gradio, Transformers, Ctransformers, and Langchain.</a></center>"
237
  )
238
 
239
  examples_set.change(fn=chatf.update_message, inputs=[examples_set], outputs=[message])
 
167
 
168
  gr.Markdown("<h1><center>Lightweight PDF / web page QA bot</center></h1>")
169
 
170
+ gr.Markdown("Chat with PDF, web page or (new) csv/Excel documents.")
171
 
172
  with gr.Row():
173
  current_source = gr.Textbox(label="Current data source(s)", value="Lambeth_2030-Our_Future_Our_Lambeth.pdf", scale = 10)
 
233
 
234
 
235
  gr.HTML(
236
+ "<center>This app is based on the model LLama-2 finetuned in our dataset. It powered by Gradio, Transformers, Ctransformers, and Langchain.</a></center>"
237
  )
238
 
239
  examples_set.change(fn=chatf.update_message, inputs=[examples_set], outputs=[message])