Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -139,18 +139,18 @@ def create_ui():
|
|
139 |
formatted_spaces = format_spaces(spaces_list)
|
140 |
print(f"Total spaces loaded: {len(formatted_spaces)}")
|
141 |
|
142 |
-
css = """
|
143 |
-
footer {visibility: hidden;}
|
144 |
-
.minimal-button {min-width: 30px !important; height: 25px !important; line-height: 1 !important; font-size: 12px !important; padding: 2px 5px !important;}
|
145 |
-
.space-row {margin-bottom: 5px !important;}
|
146 |
-
#refresh-button {
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
}
|
153 |
-
"""
|
154 |
|
155 |
with gr.Blocks(css=css, theme="Nymbo/Nymbo_Theme") as demo:
|
156 |
gr.Markdown("# 300: HuggingFace Most Liked Spaces")
|
|
|
139 |
formatted_spaces = format_spaces(spaces_list)
|
140 |
print(f"Total spaces loaded: {len(formatted_spaces)}")
|
141 |
|
142 |
+
css = """
|
143 |
+
footer {visibility: hidden;}
|
144 |
+
.minimal-button {min-width: 30px !important; height: 25px !important; line-height: 1 !important; font-size: 12px !important; padding: 2px 5px !important;}
|
145 |
+
.space-row {margin-bottom: 5px !important;}
|
146 |
+
#refresh-button {
|
147 |
+
min-width: 40px !important;
|
148 |
+
height: 40px !important;
|
149 |
+
border-radius: 20px !important;
|
150 |
+
padding: 0.5rem !important;
|
151 |
+
font-size: 1.2rem !important;
|
152 |
+
}
|
153 |
+
"""
|
154 |
|
155 |
with gr.Blocks(css=css, theme="Nymbo/Nymbo_Theme") as demo:
|
156 |
gr.Markdown("# 300: HuggingFace Most Liked Spaces")
|