Commit ·
8767cc2
1
Parent(s): e4f7d8f
update
Browse files- .gitignore +2 -1
- app.py +2 -2
.gitignore
CHANGED
|
@@ -210,4 +210,5 @@ __marimo__/
|
|
| 210 |
*.codex
|
| 211 |
*.parquet
|
| 212 |
hf_token
|
| 213 |
-
sentences_cache/*
|
|
|
|
|
|
| 210 |
*.codex
|
| 211 |
*.parquet
|
| 212 |
hf_token
|
| 213 |
+
sentences_cache/*
|
| 214 |
+
.gradio
|
app.py
CHANGED
|
@@ -1006,9 +1006,9 @@ with gr.Blocks(title="Polyglot Tagger Studio") as demo:
|
|
| 1006 |
clear_btn = gr.Button("Clear", elem_classes=["action-btn", "action-clear"])
|
| 1007 |
with gr.Row(elem_classes=["action-strip", "action-stack"]):
|
| 1008 |
with gr.Column(scale=1, min_width=0):
|
| 1009 |
-
random_btn = gr.Button("Random
|
| 1010 |
with gr.Column(scale=1, min_width=0):
|
| 1011 |
-
random_mix_btn = gr.Button("Random
|
| 1012 |
with gr.Column(scale=7):
|
| 1013 |
summary = gr.HTML()
|
| 1014 |
prediction_state = gr.State({})
|
|
|
|
| 1006 |
clear_btn = gr.Button("Clear", elem_classes=["action-btn", "action-clear"])
|
| 1007 |
with gr.Row(elem_classes=["action-strip", "action-stack"]):
|
| 1008 |
with gr.Column(scale=1, min_width=0):
|
| 1009 |
+
random_btn = gr.Button("Random sentence", elem_classes=["action-btn", "action-secondary"])
|
| 1010 |
with gr.Column(scale=1, min_width=0):
|
| 1011 |
+
random_mix_btn = gr.Button("Random mix", elem_classes=["action-btn", "action-secondary"])
|
| 1012 |
with gr.Column(scale=7):
|
| 1013 |
summary = gr.HTML()
|
| 1014 |
prediction_state = gr.State({})
|