KeshavRa commited on
Commit
e826ed5
·
verified ·
1 Parent(s): 770420c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,6 +13,6 @@ st.title("Chatbot Guide")
13
  uploaded_files = st.file_uploader("Upload PDFs Here", type="pdf")
14
  question_protocol = st.text_input("Provide instructions for how questions should be generated", "Write questions based on the text")
15
  answer_protocol = st.text_input("Provide instructions for how answers should be generated", "Write answers based on the text")
16
- sentence_chunks = st.slider("Number of sentences per question/answer pair", min_value=1, max_value=3, value=2, step=1)
17
  openai_api_key = st.text_input("Enter your OpenAI API key", type="password")
18
  submit = st.button("Submit")
 
13
  uploaded_files = st.file_uploader("Upload PDFs Here", type="pdf")
14
  question_protocol = st.text_input("Provide instructions for how questions should be generated", "Write questions based on the text")
15
  answer_protocol = st.text_input("Provide instructions for how answers should be generated", "Write answers based on the text")
16
+ sentence_chunks = st.number_input("Insert an integer for levels of quantization:", value=2, step=1, min_value=1, max_value=3)
17
  openai_api_key = st.text_input("Enter your OpenAI API key", type="password")
18
  submit = st.button("Submit")