jeremyarancio commited on
Commit
61d05d6
·
1 Parent(s): 8955797

style: :art: Rename text box labels

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 Text (Uneditable)",
51
- info="This is the original text.",
52
  interactive=False, # Make this text box uneditable
53
  lines=3,
54
  )
55
 
56
  annotator_correction = gr.Textbox(
57
- label="Corrected Text (Editable)",
58
- info="This is the AI-corrected text. You can modify it.",
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
  )