Welcome to the Code Review App! This app allows you to upload your Python (.py) files and receive suggestions for improvements using the GPT-3.5 model.
Clone the Repository: Clone this repository to your local machine using the following command:
git clone https://github.com/ShivankK26/Code-Analyst-App.git
Install Dependencies: Install the necessary dependencies by running the below command in your terminal.
pip install -r requirements.txt
Run the Application: Execute the app.py file using Streamlit. Run streamlit run app.py in your terminal.
Upload Your Python File: Click on the button to upload your Python file (.py) that you want to get reviewed.
Review Suggestions: After uploading your file, our system will process it using the GPT-3.5 model and provide suggestions for improvements.
Download Reviewed Code: You can download the reviewed code file after receiving the suggestions.
streamlit: Web application framework for Pythondotenv: Library for loading environment variables from a .env filelangchain: Library for natural language processing tasksopenai: Python client for OpenAI services (GPT-3.5 model)The app uses the GPT-3.5 model from OpenAI to provide suggestions for improving Python code. It prompts you to upload your Python file, processes it using the GPT-3.5 model, and then displays the suggestions for improvements.