Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Chat with Code

Steps to Run

Navigate to the Project Directory: Change to the directory where the setup.sh, main.py, requirements.txt, and README.md files are located. For example:

cd Examples/Chat_with_Code

1. Run the Setup File

Make the setup.sh Script Executable (if necessary): On Linux or macOS, you might need to make the setup.sh script executable:

chmod +x setup.sh

Execute the setup.sh script to set up the environment and install dependencies:

./setup.sh

Now, fill in the .env file with your secrets.

2. Run the Python Script

source ~/.venvs/chat_with_code/bin/activate

streamlit run main.py