Add1E commited on
Commit
70463c3
·
1 Parent(s): 8346089

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +0 -3
utils.py CHANGED
@@ -47,14 +47,11 @@ def addToCsvAndTrain(trainset, old_df):
47
  df = pd.concat([old_df, neues_df], ignore_index=True)
48
  df.to_csv(f'{localdir}/top50.csv', index=False, encoding='utf-8')
49
  if(random.randint(1, 10) == 7):
50
- st.session_state['reset'] = 1
51
  repo.git_add(os.path.abspath(f'{localdir}/top50.csv'))
52
  repo.git_commit("Add top50.csv")
53
  repo.git_push()
54
 
55
 
56
-
57
-
58
  data = pd.read_csv('top50.csv', encoding='utf-8')
59
  print(data.head())
60
 
 
47
  df = pd.concat([old_df, neues_df], ignore_index=True)
48
  df.to_csv(f'{localdir}/top50.csv', index=False, encoding='utf-8')
49
  if(random.randint(1, 10) == 7):
 
50
  repo.git_add(os.path.abspath(f'{localdir}/top50.csv'))
51
  repo.git_commit("Add top50.csv")
52
  repo.git_push()
53
 
54
 
 
 
55
  data = pd.read_csv('top50.csv', encoding='utf-8')
56
  print(data.head())
57