Spaces:
Running
Running
fix: gr.Markdown does not accept scale kwarg, wrap in Column instead
Browse files
app.py
CHANGED
|
@@ -324,11 +324,10 @@ def build_app() -> gr.Blocks:
|
|
| 324 |
|
| 325 |
# HF OAuth login — must be at top level of Blocks for the redirect to work
|
| 326 |
with gr.Row():
|
| 327 |
-
gr.
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
)
|
| 332 |
|
| 333 |
with gr.Row():
|
| 334 |
# ---- Left column: config + exercise ----
|
|
|
|
| 324 |
|
| 325 |
# HF OAuth login — must be at top level of Blocks for the redirect to work
|
| 326 |
with gr.Row():
|
| 327 |
+
with gr.Column(scale=0, min_width=200):
|
| 328 |
+
gr.LoginButton()
|
| 329 |
+
with gr.Column(scale=1):
|
| 330 |
+
gr.Markdown("_Sign in with your HuggingFace account so we can credit your contribution._")
|
|
|
|
| 331 |
|
| 332 |
with gr.Row():
|
| 333 |
# ---- Left column: config + exercise ----
|