Welcome to the MCQ Generator web app! This application leverages OpenAI's language model (GPT) and Streamlit to generate multiple-choice questions (MCQs) from a given passage of text.
- Generate MCQs: Input a passage of text and generate multiple-choice questions.
- Customizable Options: Adjust the number of questions to generate and specify the difficulty level.
- Export Functionality: Export generated questions to a file for later use.
-
Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/mohiteyashprogrammer/MCQ_generator
pip install -r requirements.txt
streamlit run app.py
Access the Application: Open your web browser and navigate to http://localhost:8501 to access the application.
Input Text: Enter the passage of text for which you want to generate multiple-choice questions into the provided text area.
Customize Settings: Adjust the settings according to your preferences. You can specify the number of questions to generate and choose the difficulty level.
Generate MCQs: Click on the "Generate MCQs" button to initiate the MCQ generation process based on the provided text and settings.
Export Questions: Optionally, you can export the generated questions to a file for later use by clicking on the "Export" button.
OpenAI for providing the GPT language model. Streamlit for the easy-to-use web application framework. License This project is licensed under the MIT License.