This Streamlit app processes SAT questions from a PDF file using the Claude API and outputs the results as a CSV file.
- Upload PDF files containing SAT questions
- Process questions using Claude API
- Download results as a CSV file
- Python 3.7+
- Streamlit
- PyPDF2
- pandas
- requests
-
Clone this repository:
git clone https://github.com/yourusername/sat-question-processor.git cd sat-question-processor
-
Install the required packages:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run sat_question_processor.py
-
Open the provided URL in your web browser.
-
Enter your Claude API key in the app.
-
Upload a PDF file containing SAT questions.
-
Click "Process PDF" to start processing.
-
Once processing is complete, download the CSV file with the results.
To host the Streamlit app, you can use Streamlit Cloud or deploy it on platforms like Heroku or Google Cloud Platform. Here are instructions for using Streamlit Cloud:
-
Push your code to a GitHub repository.
-
Sign up for a free account at streamlit.io.
-
Create a new app and connect it to your GitHub repository.
-
Select the main file (sat_question_processor.py) as the entry point.
-
Deploy the app.
Note: Make sure to set up environment variables for any sensitive information like API keys when deploying to a hosting platform.
Input: https://drive.google.com/file/d/1gpgk1bFMxlFvjNb9sd6uIEUF89A9LM1h/view?usp=sharing
Output: https://drive.google.com/file/d/1suAM4bmzMP3qoDdOFxdhTR91rvALV4L2/view?usp=sharing
This project is licensed under the MIT License.