Spaces:
Running
on
Zero
Running
on
Zero
Fix (#3)
Browse files- Fix (9aaf27a5e6e314e73afb57306f247fd60721bac0)
Co-authored-by: hysts <[email protected]>
- README.md +2 -2
- requirements.txt +7 -8
- style.css +3 -1
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🌖
|
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
python_version: 3.10.11
|
9 |
app_file: app.py
|
10 |
pinned: false
|
@@ -14,4 +14,4 @@ suggested_hardware: a10g-small
|
|
14 |
short_description: BLIP2 (cutting edge image captioning) in 🤗transformers
|
15 |
---
|
16 |
|
17 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.28.3
|
8 |
python_version: 3.10.11
|
9 |
app_file: app.py
|
10 |
pinned: false
|
|
|
14 |
short_description: BLIP2 (cutting edge image captioning) in 🤗transformers
|
15 |
---
|
16 |
|
17 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
requirements.txt
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
-
accelerate==0.
|
2 |
-
bitsandbytes==0.
|
3 |
-
gradio==
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
torch==2.0.0
|
8 |
torchvision==0.15.1
|
9 |
-
transformers==4.
|
10 |
-
spaces
|
|
|
1 |
+
accelerate==0.29.3
|
2 |
+
bitsandbytes==0.43.1
|
3 |
+
gradio==4.28.3
|
4 |
+
Pillow==10.3.0
|
5 |
+
scipy==1.13.0
|
6 |
+
spaces==0.26.2
|
7 |
torch==2.0.0
|
8 |
torchvision==0.15.1
|
9 |
+
transformers==4.40.1
|
|
style.css
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
h1 {
|
2 |
text-align: center;
|
|
|
3 |
}
|
4 |
|
5 |
#duplicate-button {
|
@@ -9,8 +10,9 @@ h1 {
|
|
9 |
border-radius: 100vh;
|
10 |
}
|
11 |
|
12 |
-
|
13 |
max-width: 730px;
|
|
|
14 |
margin: auto;
|
15 |
padding-top: 1.5rem;
|
16 |
}
|
|
|
1 |
h1 {
|
2 |
text-align: center;
|
3 |
+
display: block;
|
4 |
}
|
5 |
|
6 |
#duplicate-button {
|
|
|
10 |
border-radius: 100vh;
|
11 |
}
|
12 |
|
13 |
+
.contain {
|
14 |
max-width: 730px;
|
15 |
+
min-width: 500px;
|
16 |
margin: auto;
|
17 |
padding-top: 1.5rem;
|
18 |
}
|