Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- .github/workflows/main.yml +8 -3
- requirements.txt +2 -1
.github/workflows/main.yml
CHANGED
@@ -17,9 +17,14 @@ jobs:
|
|
17 |
uses: actions/setup-python@v4
|
18 |
with:
|
19 |
python-version: '3.10'
|
20 |
-
|
21 |
-
- name: Install dependencies
|
22 |
-
run:
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
- name: Configure Hugging Face Token
|
25 |
env:
|
|
|
17 |
uses: actions/setup-python@v4
|
18 |
with:
|
19 |
python-version: '3.10'
|
20 |
+
|
21 |
+
- name: Install dependencies
|
22 |
+
run: |
|
23 |
+
python -m pip install --upgrade pip
|
24 |
+
pip install -r requirements.txt
|
25 |
+
|
26 |
+
- name: Install huggingface_hub
|
27 |
+
run: pip install huggingface_hub
|
28 |
|
29 |
- name: Configure Hugging Face Token
|
30 |
env:
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
transformers
|
2 |
torch
|
3 |
-
streamlit
|
|
|
|
1 |
transformers
|
2 |
torch
|
3 |
+
streamlit
|
4 |
+
Pillow
|