ZennyKenny commited on
Commit
121b893
Β·
verified Β·
1 Parent(s): ea5a489

remove optional parameter

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def classify_comments():
38
 
39
  # Gradio Interface
40
  with gr.Blocks() as nps:
41
- uploaded_file = gr.File(label="Upload CSV", file_types=["csv"], optional=True)
42
  template_btn = gr.Button("Use Template")
43
  gr.Markdown("# NPS Comment Categorization")
44
  classify_btn = gr.Button("Classify Comments")
 
38
 
39
  # Gradio Interface
40
  with gr.Blocks() as nps:
41
+ uploaded_file = gr.File(label="Upload CSV", file_types=["csv"])
42
  template_btn = gr.Button("Use Template")
43
  gr.Markdown("# NPS Comment Categorization")
44
  classify_btn = gr.Button("Classify Comments")