Live version of the app is available at Travel Companion
This Streamlit mini-app generates Travel itinerary for a given city or country according to the type of the travel (solo, trekking, religious, etc.) and number of days. This app tries to use text-davinci-003 model to generate the itinerary. Furthermore, just to avoid the bots users will be able to generate the itinerary for 10 times per day and can be increased by reaching out to me by Email.
This Dockerfile will allow you to easily run the application by executing with one line of code. Follow the steps below:
- Open your command line interface.
- Run the following command to start the container and expose port 8501:
docker run -p 8501:8501 travel-advisory
- If you are using Windows, open your web browser and navigate to http://localhost:8501/ to access the application.
-
Clone the repository and install the requirements by typing:
pip install -r requirements.txt
-
Create the account on OpenAI and get the API key.
-
Create the account on Upstash to store the user's data and get the API key. This will be used to store the results of the user's query and will not forward the same query to the OpenAI API.
-
Create the account on Streamlit to deploy the app. Store the API keys in the
.env
file as follows. Try editing the file.example.env
to.env
once the necessary information is stored. -
Run the app through the terminal by typing:
streamlit run app.py
The purpose of this travel itinerary is to provide a helpful resource for individuals seeking to plan their trip to a specific destination. This itinerary was created with the intention of benefiting the community and ensuring that everyone can take advantage of it.
We believe that travel planning should be accessible and stress-free, and we hope that this itinerary will help individuals plan their trip with ease. We strongly welcome any feedback or suggestions to improve this resource and make it even more helpful for travelers.
You can be reached out to me by Gmail or LinkedIn.
This example is powered by the following services:
- OpenAI (AI API)
- Upstash (Redis Database)
- Streamlit (App Deployment)