vjain commited on
Commit
a657bab
1 Parent(s): 3a2d3ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ text_output = gr.outputs.Textbox(label="Answer")
64
  input_text = gr.inputs.Textbox(label="Enter your questions here", placeholder="E.g. What is DNA?")
65
  text_output = gr.outputs.Textbox(label="Answer")
66
 
67
- description = "Scholar Bot is a question answering system designed to provide accurate and relevant answers to questions in the field of biology. Simply enter your question in the text box above and Scholar Bot will use advanced natural language processing algorithms to search a large corpus of biology text to find the best answer for you. Scholar Bot uses the Sentence Transformers model to generate embeddings of text, and OpenAI's GPT-3 language model to provide answers to your questions."
68
 
69
  ui = gr.Interface(fn=reply,
70
  inputs=input_text,
 
64
  input_text = gr.inputs.Textbox(label="Enter your questions here", placeholder="E.g. What is DNA?")
65
  text_output = gr.outputs.Textbox(label="Answer")
66
 
67
+ description = "Scholar Bot is a question answering system designed to provide accurate and relevant answers to questions from this book hosted by OpenStax https://openstax.org/details/books/biology-ap-courses. Simply enter your question in the text box above and Scholar Bot will use advanced natural language processing algorithms to search a large corpus of biology text to find the best answer for you. Scholar Bot uses the Sentence Transformers model to generate embeddings of text, and OpenAI's GPT-3 language model to provide answers to your questions."
68
 
69
  ui = gr.Interface(fn=reply,
70
  inputs=input_text,