Spaces:
Sleeping
Sleeping
deployments
Browse files- README.md +3 -3
- deploy_hf.sh +1 -1
- last_depoy.txt +1 -1
README.md
CHANGED
@@ -20,7 +20,7 @@ experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](h
|
|
20 |
|
21 |
### Hugging Face Spaces
|
22 |
|
23 |
-
When you
|
24 |
|
25 |
Try the demo here:
|
26 |
|
@@ -28,7 +28,7 @@ Try the demo here:
|
|
28 |
* Space URL: https://huggingface.co/spaces/jrosell/ambhtmx.card3d
|
29 |
|
30 |
|
31 |
-
If you have
|
32 |
|
33 |
```
|
34 |
bash deploy_hf.sh
|
@@ -65,7 +65,7 @@ docker build -f Dockerfile -t ambhtmx-card3d-image . &&
|
|
65 |
docker run -p 7860:7860 --name ambhtmx-card3d-container --rm ambhtmx-card3d-image
|
66 |
```
|
67 |
|
68 |
-
2. Check the app on http://127.0.0.1:
|
69 |
|
70 |
4. Stoping and removing the container:
|
71 |
|
|
|
20 |
|
21 |
### Hugging Face Spaces
|
22 |
|
23 |
+
When you pushing a repository to a Hugging Face Spaces with the option to deploy Dockerfile and include a Dockerfile, Hugging Face will start building and running your app in the Space.
|
24 |
|
25 |
Try the demo here:
|
26 |
|
|
|
28 |
* Space URL: https://huggingface.co/spaces/jrosell/ambhtmx.card3d
|
29 |
|
30 |
|
31 |
+
If you have a repo with git enabled with a github hf remote configured, you can run:
|
32 |
|
33 |
```
|
34 |
bash deploy_hf.sh
|
|
|
65 |
docker run -p 7860:7860 --name ambhtmx-card3d-container --rm ambhtmx-card3d-image
|
66 |
```
|
67 |
|
68 |
+
2. Check the app on http://127.0.0.1:7860
|
69 |
|
70 |
4. Stoping and removing the container:
|
71 |
|
deploy_hf.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
echo date > last_depoy.txt
|
2 |
git add last_depoy.txt
|
3 |
git commit -m "deploy"
|
4 |
git push --set-upstream hf main
|
|
|
1 |
+
echo `date` > last_depoy.txt
|
2 |
git add last_depoy.txt
|
3 |
git commit -m "deploy"
|
4 |
git push --set-upstream hf main
|
last_depoy.txt
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
|
|
1 |
+
lun 05 ago 2024 17:19:17 CEST
|