Spaces:
Runtime error
Runtime error
Commit ·
e49f3de
1
Parent(s): d0408b3
Update app.py
Browse files
app.py
CHANGED
|
@@ -224,7 +224,7 @@ with demo:
|
|
| 224 |
|
| 225 |
gr.Markdown("1) Pick a preloaded BERT-like model (note: RoBERTa-large performance is best).")
|
| 226 |
gr.Markdown(f"2) Pick an Occupation type from the Winogender Schemas evaluation set, or select '{PICK_YOUR_OWN_LABEL}' (it need not be about an occupation).")
|
| 227 |
-
gr.Markdown("3) Click button to load input texts.
|
| 228 |
gr.Markdown("4) Click button to get Task Specification Metric results!")
|
| 229 |
|
| 230 |
|
|
@@ -255,7 +255,7 @@ with demo:
|
|
| 255 |
)
|
| 256 |
|
| 257 |
with gr.Row():
|
| 258 |
-
get_text_btn = gr.Button("3)
|
| 259 |
|
| 260 |
get_text_btn.click(
|
| 261 |
fn=display_input_texts,
|
|
@@ -266,7 +266,7 @@ with demo:
|
|
| 266 |
)
|
| 267 |
|
| 268 |
with gr.Row():
|
| 269 |
-
uncertain_btn = gr.Button("4)
|
| 270 |
gr.Markdown(
|
| 271 |
"If there is an * by a sentence number, then at least one top prediction for that sentence was non-gendered.")
|
| 272 |
|
|
|
|
| 224 |
|
| 225 |
gr.Markdown("1) Pick a preloaded BERT-like model (note: RoBERTa-large performance is best).")
|
| 226 |
gr.Markdown(f"2) Pick an Occupation type from the Winogender Schemas evaluation set, or select '{PICK_YOUR_OWN_LABEL}' (it need not be about an occupation).")
|
| 227 |
+
gr.Markdown("3) Click button to load input texts.\n(Read the sentences to determine which two are well-specified for gendered pronoun coreference resolution. The rest are gender-unspecified.)")
|
| 228 |
gr.Markdown("4) Click button to get Task Specification Metric results!")
|
| 229 |
|
| 230 |
|
|
|
|
| 255 |
)
|
| 256 |
|
| 257 |
with gr.Row():
|
| 258 |
+
get_text_btn = gr.Button("3) Click to load input texts.\n(Read the sentences to determine which two are well-specified for gendered pronoun coreference resolution. The rest are gender-unspecified.)")
|
| 259 |
|
| 260 |
get_text_btn.click(
|
| 261 |
fn=display_input_texts,
|
|
|
|
| 266 |
)
|
| 267 |
|
| 268 |
with gr.Row():
|
| 269 |
+
uncertain_btn = gr.Button("4) Click to get Task Specification Metric results!")
|
| 270 |
gr.Markdown(
|
| 271 |
"If there is an * by a sentence number, then at least one top prediction for that sentence was non-gendered.")
|
| 272 |
|