Upload folder using huggingface_hub
Browse files- launcher.sh +0 -16
launcher.sh
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
# This script builds and runs the Streamlit demo in a Docker container,
|
| 3 |
-
# mimicking the environment of a Hugging Face Space.
|
| 4 |
-
|
| 5 |
-
# Build the docker image
|
| 6 |
-
echo "Building the Docker image: ingredient-detector-demo..."
|
| 7 |
-
sudo docker build -t ingredient-detector-demo .
|
| 8 |
-
|
| 9 |
-
# Run the docker image
|
| 10 |
-
# Port 7860 is used by the Dockerfile (Hugging Face default)
|
| 11 |
-
echo "Starting the container on http://localhost:7860..."
|
| 12 |
-
sudo docker run -p 7860:7860 \
|
| 13 |
-
-e API_BASE_URL="https://u3wqf8ysjq.eu-central-1.awsapprunner.com" \
|
| 14 |
-
-e CLIENT_ID="DEMO_CLIENT_001" \
|
| 15 |
-
-e APP_PASSWORD="s3poke" \
|
| 16 |
-
ingredient-detector-demo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|