Commit
·
b57b028
1
Parent(s):
3dba7e3
minor fix
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ with gr.Blocks() as interface:
|
|
33 |
gr.Markdown("# Text Classification with SetFit")
|
34 |
gr.Markdown("Enter a sentence and get it classified into 'Ablehnung', 'Neutral', or 'Befürwortung'.")
|
35 |
|
36 |
-
# Input text box
|
37 |
-
text_input = gr.Textbox(lines=
|
38 |
|
39 |
# Submit button
|
40 |
submit_btn = gr.Button("Submit")
|
|
|
33 |
gr.Markdown("# Text Classification with SetFit")
|
34 |
gr.Markdown("Enter a sentence and get it classified into 'Ablehnung', 'Neutral', or 'Befürwortung'.")
|
35 |
|
36 |
+
# Input text box set for single-line input
|
37 |
+
text_input = gr.Textbox(lines=1, placeholder="Enter your text here...") # Single-line input
|
38 |
|
39 |
# Submit button
|
40 |
submit_btn = gr.Button("Submit")
|