Fahad Ebrahim
commited on
Commit
·
c45e007
1
Parent(s):
fa7e059
More Lines in the input textbox
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def text_classification(text):
|
|
28 |
examples=["This is a question", "This is a bug", "This is an enhancement" ]
|
29 |
|
30 |
io = gr.Interface(fn=text_classification,
|
31 |
-
inputs= gr.Textbox(lines=
|
32 |
outputs="label",
|
33 |
title="Text Classification",
|
34 |
description="Enter a text and see the text classification result!",
|
|
|
28 |
examples=["This is a question", "This is a bug", "This is an enhancement" ]
|
29 |
|
30 |
io = gr.Interface(fn=text_classification,
|
31 |
+
inputs= gr.Textbox(lines=20, label="Text", placeholder="Enter title here..."),
|
32 |
outputs="label",
|
33 |
title="Text Classification",
|
34 |
description="Enter a text and see the text classification result!",
|