maslionok commited on
Commit
a3bfb5a
·
1 Parent(s): e8f3947
Files changed (1) hide show
  1. app.py +11 -14
app.py CHANGED
@@ -67,20 +67,17 @@ with gr.Blocks(title="Solr Normalization Demo") as demo:
67
  submit_btn = gr.Button("🚀 Normalize Text", variant="primary")
68
 
69
  with gr.Column():
70
- with gr.Row():
71
- output = gr.Textbox(
72
- label="Normalized Output",
73
- lines=15,
74
- placeholder="Results will appear here...",
75
- scale=10
76
- )
77
- info_btn = gr.Button(
78
- "",
79
- size="sm",
80
- scale=1,
81
- elem_id="info-btn",
82
- title="Tokenization: Splits text into individual tokens | Stopword Removal: Identifies and removes common words | Language Detection: Automatically detects text language | Normalization: Applies language-specific text transformations"
83
- )
84
 
85
  submit_btn.click(
86
  fn=normalize,
 
67
  submit_btn = gr.Button("🚀 Normalize Text", variant="primary")
68
 
69
  with gr.Column():
70
+ output = gr.Textbox(
71
+ label="Normalized Output",
72
+ lines=15,
73
+ placeholder="Results will appear here..."
74
+ )
75
+ gr.Markdown(
76
+ """
77
+ <small>ℹ️ **Pipeline Info:** Tokenization → Stopword Removal → Language Detection → Normalization</small>
78
+ """,
79
+ elem_id="pipeline-info"
80
+ )
 
 
 
81
 
82
  submit_btn.click(
83
  fn=normalize,