Update app.py
Browse files
app.py
CHANGED
@@ -226,8 +226,8 @@ examples = [["We cannot, sir, we are undone already."], ["Ye're long about it."]
|
|
226 |
|
227 |
demo = gr.Interface(
|
228 |
fn=inference,
|
229 |
-
inputs=gr.
|
230 |
-
outputs=gr.
|
231 |
title=title,
|
232 |
description=description,
|
233 |
examples=examples,
|
|
|
226 |
|
227 |
demo = gr.Interface(
|
228 |
fn=inference,
|
229 |
+
inputs=gr.Textbox(placeholder="Enter text here...", label="Input Text"), # Input component
|
230 |
+
outputs=gr.Textbox(label="Output text"),
|
231 |
title=title,
|
232 |
description=description,
|
233 |
examples=examples,
|