Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -198,19 +198,20 @@ def main():
|
|
| 198 |
# State to track logged-in username (triggers re-render when changed)
|
| 199 |
logged_in_user = gr.State(value=None)
|
| 200 |
|
| 201 |
-
# Hero Section with logo
|
| 202 |
with gr.Row(elem_classes="hero-section"):
|
| 203 |
-
gr.
|
| 204 |
-
|
| 205 |
-
|
| 206 |
-
|
| 207 |
-
|
| 208 |
-
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
|
|
|
| 214 |
|
| 215 |
# Simple auth row with Gradio 6 LoginButton
|
| 216 |
with gr.Row():
|
|
|
|
| 198 |
# State to track logged-in username (triggers re-render when changed)
|
| 199 |
logged_in_user = gr.State(value=None)
|
| 200 |
|
| 201 |
+
# Hero Section with logo and subtitle
|
| 202 |
with gr.Row(elem_classes="hero-section"):
|
| 203 |
+
with gr.Column():
|
| 204 |
+
gr.Image(
|
| 205 |
+
value="datapass_logo.png",
|
| 206 |
+
show_label=False,
|
| 207 |
+
show_download_button=False,
|
| 208 |
+
show_fullscreen_button=False,
|
| 209 |
+
show_share_button=False,
|
| 210 |
+
container=False,
|
| 211 |
+
height=120,
|
| 212 |
+
elem_classes="hero-logo"
|
| 213 |
+
)
|
| 214 |
+
gr.HTML('<p style="text-align:center;color:#98989d;margin:0.5rem 0 1rem 0;font-size:1rem;">Your pass to private data.</p>')
|
| 215 |
|
| 216 |
# Simple auth row with Gradio 6 LoginButton
|
| 217 |
with gr.Row():
|