Spaces:
Runtime error
Runtime error
musfiqdehan
commited on
Commit
•
7e29b15
1
Parent(s):
9b0be64
Add show_copy_button to input and output textboxes
Browse files
app.py
CHANGED
@@ -59,6 +59,7 @@ with gr.Blocks(css="styles.css") as demo:
|
|
59 |
inputs = [
|
60 |
gr.Textbox(
|
61 |
label="Enter Bangla Sentence",
|
|
|
62 |
placeholder="বাংলা বাক্য লিখুন"
|
63 |
),
|
64 |
gr.Dropdown(
|
@@ -80,7 +81,7 @@ with gr.Blocks(css="styles.css") as demo:
|
|
80 |
|
81 |
with gr.Column():
|
82 |
outputs = [
|
83 |
-
gr.Textbox(label="English Translation"),
|
84 |
RichTextbox(label="PoS Tags"),
|
85 |
gr.Textbox(label="PoS Tagging Accuracy (Based on Unknown(UNK) Tags)")
|
86 |
]
|
@@ -139,6 +140,7 @@ with gr.Blocks(css="styles.css") as demo:
|
|
139 |
inputs = [
|
140 |
gr.Textbox(
|
141 |
label="Enter Bangla Sentence",
|
|
|
142 |
placeholder="বাংলা বাক্য লিখুন"
|
143 |
),
|
144 |
gr.Dropdown(
|
|
|
59 |
inputs = [
|
60 |
gr.Textbox(
|
61 |
label="Enter Bangla Sentence",
|
62 |
+
show_copy_button=True,
|
63 |
placeholder="বাংলা বাক্য লিখুন"
|
64 |
),
|
65 |
gr.Dropdown(
|
|
|
81 |
|
82 |
with gr.Column():
|
83 |
outputs = [
|
84 |
+
gr.Textbox(label="English Translation", show_copy_button=True),
|
85 |
RichTextbox(label="PoS Tags"),
|
86 |
gr.Textbox(label="PoS Tagging Accuracy (Based on Unknown(UNK) Tags)")
|
87 |
]
|
|
|
140 |
inputs = [
|
141 |
gr.Textbox(
|
142 |
label="Enter Bangla Sentence",
|
143 |
+
show_copy_button=True,
|
144 |
placeholder="বাংলা বাক্য লিখুন"
|
145 |
),
|
146 |
gr.Dropdown(
|