A minimalistic streamlt webapp using ChatGPT on steroids with google search capabilities since the model was trained with data till Sep 2021.
Live app can be found here.
- Simply run the command pip install -r requirements.txt to install the dependencies.
- Clone this repository and install the dependencies as mentioned above.
- I am using Serper Free-Trial google search APIs. Navigate here to create your account and save the API key as an environment variable in your system.
- Similarly, navigate to the OpenAI API section to create an account and generate your API key. Save this as well as another environment variable.
- Simply run the command:
streamlit run app.py
- Navigate to http://localhost:8501 in your web-browser.
- Ensure you have Docker Installed and Setup in your OS (Windows/Mac/Linux). For detailed Instructions, please refer this.
- Navigate to the folder where you have cloned this repository ( where the Dockerfile is present ).
- Build the Docker Image (don't forget the dot!! 😄 ):
docker build -f Dockerfile -t app:latest .
- Run the docker:
docker run -p 8501:8501 app:latest
This will launch the dockerized app. Navigate to http://localhost:8501/ in your browser to have a look at your application. You can check the status of your all available running dockers by:
docker