Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -224,6 +224,9 @@ custom_css = """
|
|
| 224 |
#login-group .gr-form {
|
| 225 |
background-color: white !important;
|
| 226 |
}
|
|
|
|
|
|
|
|
|
|
| 227 |
"""
|
| 228 |
|
| 229 |
# Create Gradio interface
|
|
@@ -253,8 +256,7 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Dataset Annotation Tool", css=cust
|
|
| 253 |
gr.Markdown("## Login", padding=True)
|
| 254 |
user_id_input = gr.Textbox(
|
| 255 |
label="Enter your unique annotator ID to begin",
|
| 256 |
-
placeholder="Annotator ID"
|
| 257 |
-
scale=3
|
| 258 |
)
|
| 259 |
with gr.Row():
|
| 260 |
login_btn = gr.Button("Login", variant="primary", scale=0.2, min_width=100)
|
|
|
|
| 224 |
#login-group .gr-form {
|
| 225 |
background-color: white !important;
|
| 226 |
}
|
| 227 |
+
button[class*="button"] {
|
| 228 |
+
margin: 8px 0 !important;
|
| 229 |
+
}
|
| 230 |
"""
|
| 231 |
|
| 232 |
# Create Gradio interface
|
|
|
|
| 256 |
gr.Markdown("## Login", padding=True)
|
| 257 |
user_id_input = gr.Textbox(
|
| 258 |
label="Enter your unique annotator ID to begin",
|
| 259 |
+
placeholder="Annotator ID"
|
|
|
|
| 260 |
)
|
| 261 |
with gr.Row():
|
| 262 |
login_btn = gr.Button("Login", variant="primary", scale=0.2, min_width=100)
|