Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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")
|