Trip-Scheduler / README.md
Ashish08's picture
Update README.md
28352d5 verified
---
title: Trip Scheduler
emoji: πŸƒ
colorFrom: gray
colorTo: red
sdk: streamlit
sdk_version: 1.15.2
app_file: app.py
pinned: false
license: creativeml-openrail-m
---
# GPT-3 Trip Scheduler
## Overview
The GPT-3 Trip Scheduler is a Streamlit-based application that leverages the power of OpenAI's GPT-3.5 to assist users in planning their trips efficiently. By entering their destination, arrival, and departure details, users can generate a detailed trip schedule that respects their time and preferences.
## Features
- **Destination Input:** Users can input their desired trip destination. The app provides a default random destination from a predefined list for convenience.
- **Arrival & Departure Details:** Users can specify detailed arrival and departure information, including the type of station (Airport, Train Station, Bus Station, etc.), date, and time.
- **Additional Information:** Users can input any additional information or specific requests they have for their trip, allowing the GPT-3 model to tailor the trip schedule to their needs.
- **Trip Schedule Generation:** The app utilizes OpenAI's GPT-3 model to generate a comprehensive trip schedule based on the user's input.
## Installation
### Requirements
- Python 3.8 or higher
- Streamlit
- OpenAI's GPT-3.5 API
- Other dependencies listed in `requirements.txt`
### Setup
1. **Clone the Repository:**
```bash
git clone https://github.com/your-repository/gpt-3-trip-scheduler.git
cd gpt-3-trip-scheduler
```
2. **Install Dependencies:**
```bash
pip install --no-cache-dir -r requirements.txt
```
3. **Environment Variables:**
Set the `OPENAI_API` environment variable in a `.env` file:
```env
OPENAI_API=your_openai_api_key_here
```
Make sure the `.env` file is in the root directory of the project.
### Running the App
To run the app, navigate to the project directory and execute the following command:
```bash
streamlit run app.py