Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
| title: Omniseal Dev | |
| emoji: 🦀 | |
| colorFrom: red | |
| colorTo: green | |
| sdk: docker | |
| pinned: false | |
| short_description: POC development | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| ## Docker Build Instructions | |
| ### Prerequisites | |
| - Docker installed on your system | |
| - Git repository cloned locally | |
| ### Build Steps (no docker) | |
| flask run --host=0.0.0.0 --port=7860 --reload | |
| ### Build Steps (Docker, huggingface) | |
| 1. Navigate to the project directory: | |
| ```bash | |
| cd /path/to/omniseal_dev | |
| ``` | |
| 2. Build the Docker image: | |
| ```bash | |
| docker build -t omniseal-benchmark . | |
| ``` | |
| OR | |
| ```bash | |
| docker buildx build -t omniseal-benchmark . | |
| ``` | |
| 3. Run the container (this runs in auto-reload mode when you update python files in the backend directory): | |
| ```bash | |
| docker run -p 7860:7860 -v $(pwd)/backend:/app/backend omniseal-benchmark | |
| ``` | |
| 4. Access the application at `http://localhost:7860` |