Spaces:
Running
Running
File size: 1,977 Bytes
2e9b23b 107a3f6 2e9b23b 107a3f6 2e9b23b 28352d5 107a3f6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
---
title: Trip Scheduler
emoji: ποΈβοΈπ
colorFrom: gray
colorTo: red
sdk: streamlit
sdk_version: 1.37.1
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 |