Spaces:
Sleeping
Sleeping
Update app.py
Browse files1 unmodified line23456789101 unmodified line
# Write instructions for input PDF
# Write instructions for these inputsuploaded_files = st.file_uploader("Upload PDFs Here", type="pdf")question_protocol = st.text_input("Provide instructions for how questions should be generated", "Write questions based on the text")answer_protocol = st.text_input("Provide instructions for how answers should be generated", "Write answers based on the text")sentence_chunks = st.slider("Number of sentences per question/answer pair", min_value=1, max_value=3, value=2, step=1)openai_api_key = st.text_input("Enter your OpenAI API key", type="password")app.py+6