Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def gradio_chatbot(input_text, explanation_text):
|
|
81 |
interface = gr.Interface(
|
82 |
fn=gradio_chatbot,
|
83 |
inputs=["text", "text"],
|
84 |
-
outputs=["
|
85 |
title="Chatbot with Auto-Correction and Vocabulary Explanations",
|
86 |
description="Enter a sentence for autocorrection and another for a vocabulary or sentence explanation."
|
87 |
)
|
|
|
81 |
interface = gr.Interface(
|
82 |
fn=gradio_chatbot,
|
83 |
inputs=["text", "text"],
|
84 |
+
outputs=[gr.outputs.Textbox(label="Corrected Sentence"), gr.outputs.Markdown(label="Explanation")],
|
85 |
title="Chatbot with Auto-Correction and Vocabulary Explanations",
|
86 |
description="Enter a sentence for autocorrection and another for a vocabulary or sentence explanation."
|
87 |
)
|