Update app.py
Browse files
app.py
CHANGED
|
@@ -223,6 +223,10 @@ h2 {
|
|
| 223 |
color: #ff8c00;
|
| 224 |
margin-bottom: 10px;
|
| 225 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 226 |
}
|
| 227 |
|
| 228 |
.header {
|
|
@@ -278,7 +282,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 278 |
with gr.Row(elem_id="header"):
|
| 279 |
gr.Markdown("<div class='header-title-center'><a href='https://eventdata.utdallas.edu/conflibert/'>ConfliBERT</a></div>", elem_id="header-title-center")
|
| 280 |
|
| 281 |
-
gr.Markdown("Select a task and provide the necessary inputs
|
| 282 |
|
| 283 |
task = gr.Dropdown(choices=["Question Answering", "Named Entity Recognition", "Text Classification", "Multilabel Classification"], label="Select Task")
|
| 284 |
|
|
|
|
| 223 |
color: #ff8c00;
|
| 224 |
margin-bottom: 10px;
|
| 225 |
text-align: center;
|
| 226 |
+
|
| 227 |
+
background-color: #f0f8ff;
|
| 228 |
+
padding: 10px;
|
| 229 |
+
border-radius: 5px;
|
| 230 |
}
|
| 231 |
|
| 232 |
.header {
|
|
|
|
| 282 |
with gr.Row(elem_id="header"):
|
| 283 |
gr.Markdown("<div class='header-title-center'><a href='https://eventdata.utdallas.edu/conflibert/'>ConfliBERT</a></div>", elem_id="header-title-center")
|
| 284 |
|
| 285 |
+
gr.Markdown("<div class='gr-description'>Select a task and provide the necessary inputs.</div>")
|
| 286 |
|
| 287 |
task = gr.Dropdown(choices=["Question Answering", "Named Entity Recognition", "Text Classification", "Multilabel Classification"], label="Select Task")
|
| 288 |
|