Spaces:
Running
Running
File size: 939 Bytes
8fc7013 d7aea57 8fc7013 d7aea57 8fc7013 d7aea57 |
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 |
---
title: pipeline
app_file: engie_pipeline/app.py
sdk: gradio
sdk_version: 4.36.1
---
# Engie pipeline
---
### Installation
Python >=3.10 is required for the project. To install all the dependencies, simply run:
```shell
pip install -r requirements.txt
```
To download the needed model to run the pipeline, execute the following command:
```shell
bash download_model.sh
```
---
### Execution
To execute the pipeline, run the following command:
```shell
python -m engie_pipeline.pipeline
```
Change one or more parameter of the pipeline process with:
```shell
python -m engie_pipeline.pipeline with path="<path/to/file/or/folder>" output_path="<path/to/output/folder" conformity_threshold=0.8
```
if the `path` parameter is set to a folder, all the images found in the folder will be processed. The supported image types are ".jpg", ".jpeg", ".png"
### App
To launch the app, run:
```shell
python -m engie_pipeline.app
```
|