aaurelions commited on
Commit
2fae333
·
verified ·
1 Parent(s): 7a3385d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ def correct_grammar(text):
14
 
15
  iface = gr.Interface(
16
  fn=correct_grammar,
17
- inputs=gr.inputs.Textbox(lines=5, label="Input Text"),
18
- outputs=gr.outputs.Textbox(label="Corrected Text"),
19
  title="Grammar Correction Chat",
20
  description="Enter text with grammatical errors, and the model will provide corrections."
21
  )
 
14
 
15
  iface = gr.Interface(
16
  fn=correct_grammar,
17
+ inputs=gr.Textbox(lines=5, label="Input Text"),
18
+ outputs=gr.Textbox(label="Corrected Text"),
19
  title="Grammar Correction Chat",
20
  description="Enter text with grammatical errors, and the model will provide corrections."
21
  )