clementBE commited on
Commit
fc4cb50
·
verified ·
1 Parent(s): 2ecc40f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def apply_code(coded_df, file_id, full_text, segment, code, code_list, *metadata
118
  if not file_id:
119
  return coded_df, code_list, "⚠️ Upload a file first."
120
 
121
- # Update code list dynamically
122
  if code not in code_list:
123
  code_list.append(code)
124
 
 
118
  if not file_id:
119
  return coded_df, code_list, "⚠️ Upload a file first."
120
 
121
+ # Add new code to code list if not exists
122
  if code not in code_list:
123
  code_list.append(code)
124