sashtech commited on
Commit
c824c99
·
verified ·
1 Parent(s): 47f1f39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ def main():
11
  # Create the Gradio interface
12
  interface = gr.Interface(
13
  fn=grammar_corrector, # Function to correct the grammar
14
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter a sentence..."), # Input box for sentence
15
- outputs=gr.outputs.Textbox(label="Corrected Sentence"), # Output box for corrected sentence
16
  title="Grammar Correction App", # Title for the app
17
  description="Enter a sentence and click 'Submit' to see the corrected version.", # Brief description
18
  )
 
11
  # Create the Gradio interface
12
  interface = gr.Interface(
13
  fn=grammar_corrector, # Function to correct the grammar
14
+ inputs=gr.Textbox(lines=2, placeholder="Enter a sentence..."), # Input box for sentence
15
+ outputs=gr.Textbox(label="Corrected Sentence"), # Output box for corrected sentence
16
  title="Grammar Correction App", # Title for the app
17
  description="Enter a sentence and click 'Submit' to see the corrected version.", # Brief description
18
  )