0
stars
6
commits
Jupyter Notebook
primary language
May 7, 2025
updated
If you'd like to run the Flask app using python app.py, here’s how you can adjust the README for that method.
This project provides a web-based essay grading system that leverages natural language processing (NLP) and machine learning models to assess student responses to essay questions.
To set up the environment, install the following dependencies:
Flask==2.0.1
pandas==1.3.3
numpy==1.21.2
scikit-learn==0.24.2
transformers==4.9.2
torch>=1.10.0
nlp-id>=0.6.0
gunicorn
git clone https://github.com/your-username/TA_EssayGrading.git
cd TA_EssayGrading
python -m venv venv
Activate the virtual environment:
On Windows:
venv\Scripts\activate
On Mac/Linux:
source venv/bin/activate
Install the required dependencies:
pip install -r requirements.txt
python app.py
Visit http://127.0.0.1:5000 in your web browser.
On the web page, enter the correct answer key for the essay question.
Upload the student’s essay answer in the required format.
The system will grade the essay based on the provided answer key.
To deploy the app in production using Gunicorn:
gunicorn app:app
This will start the application in production mode.
With this setup, the app will be run via python app.py instead of flask run. Let me know if this works or if you need any more adjustments!
6 commits
Jupyter Notebook
99.0%
0
stars
6
commits
Jupyter Notebook
primary language
May 7, 2025
updated
If you'd like to run the Flask app using python app.py, here’s how you can adjust the README for that method.
This project provides a web-based essay grading system that leverages natural language processing (NLP) and machine learning models to assess student responses to essay questions.
To set up the environment, install the following dependencies:
Flask==2.0.1
pandas==1.3.3
numpy==1.21.2
scikit-learn==0.24.2
transformers==4.9.2
torch>=1.10.0
nlp-id>=0.6.0
gunicorn
git clone https://github.com/your-username/TA_EssayGrading.git
cd TA_EssayGrading
python -m venv venv
Activate the virtual environment:
On Windows:
venv\Scripts\activate
On Mac/Linux:
source venv/bin/activate
Install the required dependencies:
pip install -r requirements.txt
python app.py
Visit http://127.0.0.1:5000 in your web browser.
On the web page, enter the correct answer key for the essay question.
Upload the student’s essay answer in the required format.
The system will grade the essay based on the provided answer key.
To deploy the app in production using Gunicorn:
gunicorn app:app
This will start the application in production mode.
With this setup, the app will be run via python app.py instead of flask run. Let me know if this works or if you need any more adjustments!
6 commits
Jupyter Notebook
99.0%