ZennyKenny commited on
Commit
a048947
Β·
verified Β·
1 Parent(s): 9d03f28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,9 +45,9 @@ with gr.Blocks() as nps:
45
  category_boxes.append(new_box)
46
  return new_box
47
 
48
- add_category_btn.click(fn=add_category, outputs=category_boxes)
49
  category_boxes = [] # Store category input boxes
50
  add_category_btn = gr.Button("Add Category")
 
51
  uploaded_file = gr.File(label="Upload CSV", type="filepath")
52
  template_btn = gr.Button("Use Template")
53
  gr.Markdown("# NPS Comment Categorization")
 
45
  category_boxes.append(new_box)
46
  return new_box
47
 
 
48
  category_boxes = [] # Store category input boxes
49
  add_category_btn = gr.Button("Add Category")
50
+ add_category_btn.click(fn=add_category, outputs=category_boxes)
51
  uploaded_file = gr.File(label="Upload CSV", type="filepath")
52
  template_btn = gr.Button("Use Template")
53
  gr.Markdown("# NPS Comment Categorization")