Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -161,11 +161,13 @@ with gr.Blocks(title="Telugu Text Tokenizer", theme=gr.themes.Soft()) as demo:
|
|
| 161 |
encode_btn = gr.Button("🔄 Encode", variant="primary")
|
| 162 |
|
| 163 |
with gr.Column():
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
|
|
|
|
|
|
| 169 |
stats_output = gr.Textbox(
|
| 170 |
label="Statistics",
|
| 171 |
lines=8,
|
|
|
|
| 161 |
encode_btn = gr.Button("🔄 Encode", variant="primary")
|
| 162 |
|
| 163 |
with gr.Column():
|
| 164 |
+
with gr.Row():
|
| 165 |
+
encoded_output = gr.Textbox(
|
| 166 |
+
label="Encoded Token IDs",
|
| 167 |
+
lines=5,
|
| 168 |
+
interactive=False,
|
| 169 |
+
show_copy_button=True
|
| 170 |
+
)
|
| 171 |
stats_output = gr.Textbox(
|
| 172 |
label="Statistics",
|
| 173 |
lines=8,
|