Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,8 @@ def correct_grammar(text):
|
|
14 |
|
15 |
iface = gr.Interface(
|
16 |
fn=correct_grammar,
|
17 |
-
inputs=gr.
|
18 |
-
outputs=gr.
|
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 |
)
|