Lightning-Universe / Flashy_app

Perform Image/Text Classification with :zap: Flash built using :zap: AI
Apache License 2.0
9 stars 3 forks source link
**The AutoML App** [![Lightning](https://img.shields.io/badge/-Lightning-792ee5?logo=pytorchlightning&logoColor=white)](https://lightning.ai) ![license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)

Running the app

Let's first start with setting up the environment, and installing the requirements:

conda create --name lightning python=3.8
conda activate lightning

git clone https://github.com/Lightning-AI/lightning
cd lightning
pip install -e .
python scripts/download_frontend.py

cd ../
git clone https://github.com/Lightning-AI/LAI-Flashy-App
cd LAI-Flashy-App
# For local install, we keep a separate requirements file. The cloud app uses requirements.txt file.
pip install -e .[dev]

In order to run the app now (locally):

lightning run app app.py

And to run on the cloud:

lightning run app app.py --cloud

In case you receive a ModuleNotFound error for fiftyone, please consider installing the library manually as shown in the script above, or just use the requirements-dev.txt file during installation as shown in the script above.