kishkath commited on
Commit
b0ed0a7
·
verified ·
1 Parent(s): d6e7dc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
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
- encoded_output = gr.Textbox(
165
- label="Encoded Token IDs",
166
- lines=5,
167
- interactive=False
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,