Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -224,9 +224,6 @@ custom_css = """
|
|
| 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
|
|
@@ -258,10 +255,11 @@ with gr.Blocks(theme=gr.themes.Soft(), title="Dataset Annotation Tool", css=cust
|
|
| 258 |
label="Enter your unique annotator ID to begin",
|
| 259 |
placeholder="Annotator ID"
|
| 260 |
)
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
|
|
|
| 265 |
|
| 266 |
# Annotation Interface
|
| 267 |
with gr.Group(visible=False, elem_id="annotation-group") as annotation_interface:
|
|
|
|
| 224 |
#login-group .gr-form {
|
| 225 |
background-color: white !important;
|
| 226 |
}
|
|
|
|
|
|
|
|
|
|
| 227 |
"""
|
| 228 |
|
| 229 |
# Create Gradio interface
|
|
|
|
| 255 |
label="Enter your unique annotator ID to begin",
|
| 256 |
placeholder="Annotator ID"
|
| 257 |
)
|
| 258 |
+
|
| 259 |
+
with gr.Row():
|
| 260 |
+
login_btn = gr.Button("Login", variant="primary", scale=0.2, min_width=100)
|
| 261 |
+
gr.HTML("")
|
| 262 |
+
login_status = gr.Markdown("", padding=True)
|
| 263 |
|
| 264 |
# Annotation Interface
|
| 265 |
with gr.Group(visible=False, elem_id="annotation-group") as annotation_interface:
|