Update app.py
Browse files
app.py
CHANGED
@@ -18,9 +18,9 @@ def sentence_boundary_detection(name):
|
|
18 |
# Gradio interface
|
19 |
iface = gr.Interface(
|
20 |
fn=sentence_boundary_detection,
|
21 |
-
inputs=gr.Textbox(label="Input Text", lines=10,
|
22 |
outputs=[
|
23 |
-
gr.Textbox(label="Sentences", lines=10,
|
24 |
gr.Number(label="Number of Sentences")
|
25 |
],
|
26 |
title="Sentence Boundary Detection",
|
|
|
18 |
# Gradio interface
|
19 |
iface = gr.Interface(
|
20 |
fn=sentence_boundary_detection,
|
21 |
+
inputs=gr.Textbox(label="Input Text", lines=10, placeholder="Enter text here..."),
|
22 |
outputs=[
|
23 |
+
gr.Textbox(label="Sentences", lines=10, placeholder="Sentences will appear here..."),
|
24 |
gr.Number(label="Number of Sentences")
|
25 |
],
|
26 |
title="Sentence Boundary Detection",
|