geekgirl3 commited on
Commit
9eaf386
Β·
verified Β·
1 Parent(s): 338117f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -459,6 +459,7 @@ with gr.Blocks(title="Feedback Topic & Sentiment Transformer", css="""
459
  with gr.Row():
460
  with gr.Column(scale=1):
461
  # File upload
 
462
  input_file = gr.File(
463
  label="Upload Input File",
464
  file_types=[".xlsx", ".xls", ".csv", ".txt"],
@@ -466,7 +467,7 @@ with gr.Blocks(title="Feedback Topic & Sentiment Transformer", css="""
466
  )
467
 
468
  # Combined column selector (replaces both preview and checkboxes)
469
- gr.Markdown("### πŸ“‹ Column Selection")
470
  column_selector = gr.CheckboxGroup(
471
  choices=[],
472
  value=[],
@@ -476,7 +477,7 @@ with gr.Blocks(title="Feedback Topic & Sentiment Transformer", css="""
476
 
477
  with gr.Column(scale=1):
478
  # Configuration parameters
479
- gr.Markdown("### βš™οΈ Configuration")
480
 
481
  topic_prefix = gr.Textbox(
482
  label="Topic Column Prefix",
@@ -520,7 +521,7 @@ with gr.Blocks(title="Feedback Topic & Sentiment Transformer", css="""
520
  )
521
 
522
  # Transform button
523
- transform_btn = gr.Button("πŸ”„ Transform Data", variant="primary", size="lg")
524
 
525
  # Output sections
526
  with gr.Row():
@@ -539,7 +540,7 @@ with gr.Blocks(title="Feedback Topic & Sentiment Transformer", css="""
539
  # Download section - Modified for better download functionality
540
  with gr.Row():
541
  with gr.Column():
542
- gr.Markdown("### πŸ“₯ Download Transformed File")
543
  output_file = gr.File(
544
  label="Transformed File",
545
  interactive=False,
 
459
  with gr.Row():
460
  with gr.Column(scale=1):
461
  # File upload
462
+ gr.Markdown("### πŸ“‹ 1. Source file upload")
463
  input_file = gr.File(
464
  label="Upload Input File",
465
  file_types=[".xlsx", ".xls", ".csv", ".txt"],
 
467
  )
468
 
469
  # Combined column selector (replaces both preview and checkboxes)
470
+ gr.Markdown("### πŸ“‹ 2. Column Selection")
471
  column_selector = gr.CheckboxGroup(
472
  choices=[],
473
  value=[],
 
477
 
478
  with gr.Column(scale=1):
479
  # Configuration parameters
480
+ gr.Markdown("### βš™οΈ 3. Configuration of column prefixes ")
481
 
482
  topic_prefix = gr.Textbox(
483
  label="Topic Column Prefix",
 
521
  )
522
 
523
  # Transform button
524
+ transform_btn = gr.Button("πŸ”„ 4. Transform Data", variant="primary", size="lg")
525
 
526
  # Output sections
527
  with gr.Row():
 
540
  # Download section - Modified for better download functionality
541
  with gr.Row():
542
  with gr.Column():
543
+ gr.Markdown("### πŸ“₯ 5. Download Transformed File")
544
  output_file = gr.File(
545
  label="Transformed File",
546
  interactive=False,