Commit
·
bcf33e3
1
Parent(s):
4daea6c
fix gh action to push to space. fix app entrypoint
Browse files- .github/main.yml +1 -5
- Dockerfile +1 -1
.github/main.yml
CHANGED
@@ -14,8 +14,4 @@ jobs:
|
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
16 |
- name: Push to hub
|
17 |
-
|
18 |
-
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
19 |
-
HF_USERNAME: ${{ secrets.HF_USERNAME }}
|
20 |
-
SPACE_NAME: ${{ secrets.SPACE_NAME }}
|
21 |
-
run: git push https://$HF_USERNAME:[email protected]/spaces/$HF_USERNAME/$SPACE_NAME main
|
|
|
14 |
fetch-depth: 0
|
15 |
lfs: true
|
16 |
- name: Push to hub
|
17 |
+
run: git push space main
|
|
|
|
|
|
|
|
Dockerfile
CHANGED
@@ -18,6 +18,6 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
18 |
EXPOSE 7860
|
19 |
|
20 |
# Run main.py when the container launches
|
21 |
-
CMD ["python", "
|
22 |
|
23 |
USER 1001
|
|
|
18 |
EXPOSE 7860
|
19 |
|
20 |
# Run main.py when the container launches
|
21 |
+
CMD ["python", "app.py"]
|
22 |
|
23 |
USER 1001
|