Commit
·
61d05d6
1
Parent(s):
8955797
style: :art: Rename text box labels
Browse files
app.py
CHANGED
@@ -47,15 +47,15 @@ with gr.Blocks() as demo:
|
|
47 |
model_correction = gr.Text(visible=False)
|
48 |
|
49 |
original = gr.Textbox(
|
50 |
-
label="Original
|
51 |
-
info="
|
52 |
interactive=False, # Make this text box uneditable
|
53 |
lines=3,
|
54 |
)
|
55 |
|
56 |
annotator_correction = gr.Textbox(
|
57 |
-
label="
|
58 |
-
info="
|
59 |
interactive=True, # Make this text box editable
|
60 |
lines=3,
|
61 |
)
|
|
|
47 |
model_correction = gr.Text(visible=False)
|
48 |
|
49 |
original = gr.Textbox(
|
50 |
+
label="Original",
|
51 |
+
info="List of ingredients stored in the database.",
|
52 |
interactive=False, # Make this text box uneditable
|
53 |
lines=3,
|
54 |
)
|
55 |
|
56 |
annotator_correction = gr.Textbox(
|
57 |
+
label="Spellcheck Correction",
|
58 |
+
info="Is it correct",
|
59 |
interactive=True, # Make this text box editable
|
60 |
lines=3,
|
61 |
)
|