/BE_Project

Primary LanguageJupyter Notebook

BE_Project

Create a folder called models and add the following two .pt files to this folder.

  1. 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


  1. 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