NandyG/QA_Generator
0
1---2title: QA Generator3emoji: ⚡4colorFrom: pink5colorTo: purple6sdk: streamlit7sdk_version: 1.30.08app_file: app.py9pinned: false10license: mit11---12 13# QA Generator App14 15This is a Streamlit application that generates questions and answers from an uploaded PDF document. It is useful for teachers, professors, or event organizers who need to prepare exam questions or quick tests.16 17## Installation18 191. Clone this repository.202. Navigate to the project directory.213. Install the required dependencies using pip:22 23```bash24pip install -r requirements.txt25```26 27## Usage28 291. Start the Streamlit app by running the following command in your terminal:30 31```bash32streamlit run app.py33```34 352. The app will open in your default web browser. You can interact with the app through the browser.36 373. Upload a PDF document using the file upload control. The maximum file size is 20MB.38 394. Enter the number of questions you want to generate.40 415. Choose whether you want to generate answers as well.42 436. Enter any focus keywords.44 457. Click the 'Generate' button to start the question and answer generation process. The app will display a progress bar while it is processing.46 478. Once the processing is complete, the app will display the generated questions and their respective answers (if requested).48 49## Note50 51The quality of the generated questions and answers depends on the content of the uploaded PDF document and the specified focus keywords. The app uses a machine learning model for question and answer generation, and the model's performance may vary based on the input.