Spaces:
Running
Running
Commit ·
5adbf32
1
Parent(s): bff354a
login fix
Browse files
app.py
CHANGED
|
@@ -94,13 +94,15 @@ def create_ui():
|
|
| 94 |
background-color: white !important;
|
| 95 |
color: black !important;
|
| 96 |
border: 1px solid #ccc !important;
|
|
|
|
|
|
|
| 97 |
}
|
| 98 |
</style>
|
| 99 |
""")
|
| 100 |
if os.environ.get("SPACE_ID"):
|
| 101 |
with gr.Column(elem_id="login-card"):
|
| 102 |
gr.HTML("<p style='text-align:center; margin:0;'>"
|
| 103 |
-
"If your dataset is hosted on Hugging Face, please log in to avoid rate limiting issues
|
| 104 |
"If your dataset is not on Hugging Face, you can still use the validator without logging in.</p>")
|
| 105 |
gr.LoginButton(variant="secondary", icon=None, scale=0, elem_classes=["login-button"])
|
| 106 |
|
|
|
|
| 94 |
background-color: white !important;
|
| 95 |
color: black !important;
|
| 96 |
border: 1px solid #ccc !important;
|
| 97 |
+
font-size: 13px !important;
|
| 98 |
+
font-weight: 400 !important;
|
| 99 |
}
|
| 100 |
</style>
|
| 101 |
""")
|
| 102 |
if os.environ.get("SPACE_ID"):
|
| 103 |
with gr.Column(elem_id="login-card"):
|
| 104 |
gr.HTML("<p style='text-align:center; margin:0;'>"
|
| 105 |
+
"If your dataset is hosted on Hugging Face, please log in to avoid rate limiting issues. "
|
| 106 |
"If your dataset is not on Hugging Face, you can still use the validator without logging in.</p>")
|
| 107 |
gr.LoginButton(variant="secondary", icon=None, scale=0, elem_classes=["login-button"])
|
| 108 |
|