X-Pipe/flash
0
1---2title: Flash3emoji: ๐4colorFrom: gray5colorTo: purple6sdk: streamlit7sdk_version: 1.21.08app_file: app.py9pinned: false10license: apache-2.011---12 13Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference14 15Then, create a new Python virtual environment. The command below creates an environment in `.venv`,16and activates it:17 18```bash19python -m venv .venv20source .venv/bin/activate21```22 23if you are in windows, use the following to activate your virtual environment:24 25```bash26.venv\scripts\activate27```28 29Install the required dependencies (this will also install gpt-index through `pip install -e .`30so that you can start developing on it):31 32```bash33pip install -r requirements.txt34```35 36Now you should be set!37 38### Validating your Change39 40Let's make sure to `format/lint` our change. For bigger changes,41let's also make sure to `test` it and perhaps create an `example notebook`.42 43#### Formatting/Linting44 45You can format and lint your changes with the following commands in the root directory:46 47```bash48make format; make lint49```50 51You can also make use of our pre-commit hooks by setting up git hook scripts:52 53```bash54pre-commit install55```56 57We run an assortment of linters: `black`, `ruff`, `mypy`.