Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charlywargnier/demo-app-gpt4-blog-post
This repos contains a demo app for the accompanying blog post.
https://github.com/charlywargnier/demo-app-gpt4-blog-post
Last synced: about 8 hours ago
JSON representation
This repos contains a demo app for the accompanying blog post.
- Host: GitHub
- URL: https://github.com/charlywargnier/demo-app-gpt4-blog-post
- Owner: CharlyWargnier
- License: apache-2.0
- Created: 2023-10-19T07:47:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-19T07:52:55.000Z (about 1 year ago)
- Last Synced: 2024-04-18T04:11:12.774Z (7 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# My Streamlit Demo App
This repository contains a demo Streamlit application, serving as an illustrative example for the accompanying blog post.
## Structure
The repository is structured as follows:
```
/my_streamlit_app/
|-- data/
| |-- large_dataset.csv
|-- models/
| |-- heavy_model.pkl
|-- src/
| |-- data_loader.py
| |-- model_loader.py
| |-- predictor.py
| |-- transformer.py
| |-- analyser.py
| |-- forecast.py
|-- streamlit_app.py
|-- requirements.txt
```## Overview
- `data/`: Contains a dummy dataset used for demonstration purposes.
- `models/`: Houses a placeholder model file.
- `src/`: Contains the source code files for various functionalities:
- `data_loader.py`: Function to load the dataset.
- `model_loader.py`: Function to load the model.
- `predictor.py`: Function to make predictions using the loaded model.
- `transformer.py`: A dummy transformer function.
- `analyser.py`: A dummy analysis function.
- `forecast.py`: A dummy forecasting function.
- `streamlit_app.py`: The main Streamlit application file.
- `requirements.txt`: Lists the Python dependencies for the application.## Usage
To run the Streamlit app locally, ensure you have the required packages installed:
```bash
pip install -r requirements.txt
```Then, launch the app with:
```bash
streamlit run streamlit_app.py
```## Note
This repository is for demonstration purposes as part of a blog post. The functionalities are illustrative and may not represent a fully functional application.