Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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")
|