Create a folder called models and add the following two .pt files to this folder.
- Text to Code .pt file
Download the file from the below link and add it to the models folder
https://drive.google.com/file/d/1TDyzqfltXeiSkoIMkIEbVOw_hgTtUobd/view?usp=sharing
- Code to Pseudocode .pt file
Download the file from the below link and add it to the models folder
https://drive.google.com/file/d/1YwufV1lNB_zqgpp32cPPYkZ771eWytSe/view?usp=sharing
Update line 14 and 16 in main.py accordingly.
Commands to run the project -
pip install flask
pip install torch
pip install flask_cors
pip install transformers
python main.py