The purpose of this assignment is to evaluate my skills in Python, Flask, API integration, prompt engineering, and web development. You will develop a simple web application that integrates with the ChatGPT API and demonstrates your ability to work with the mentioned technologies.
To run this project, perform the following tasks
Download the code file manually or via git
git clone https://github.com/deepakpadhi986/py-assign.git
Create a virtual environment and activate it (recommended)
Open your command prompt and change your project directory to py-assign
and run the following command
python -m venv venvapp
cd venvapp/Scripts
activate
cd../..
Go to py-assign
folder & download required packages
cd py-assign
pip install -r requirements.txt
And your api key inside app.py
Line 6 in 1cb290b
Run the app.py
file using
python app.py
click on the url to view it on the browser
To run the test file
Run the test.py
file using
python test.py
Home
Result
Test