cheesexuebao commited on
Commit
442a3b7
1 Parent(s): 8518918
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ def csv_process(csv_file, model_select, attr="content"):
36
  current_time = datetime.now()
37
  formatted_time = current_time.strftime("%Y_%m_%d_%H_%M_%S")
38
  df = pd.read_csv(csv_file.name)
 
39
  outputs = []
40
  for model_name in model_select:
41
  data = df.copy(deep=True)
 
36
  current_time = datetime.now()
37
  formatted_time = current_time.strftime("%Y_%m_%d_%H_%M_%S")
38
  df = pd.read_csv(csv_file.name)
39
+ os.makedirs('output', exist_ok=True)
40
  outputs = []
41
  for model_name in model_select:
42
  data = df.copy(deep=True)