peterpull commited on
Commit
1a7fbbd
·
1 Parent(s): 16c492d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def store_message(chatinput: str, chatresponse: str):
50
  file.write(f"{datetime.now()},{chatinput},{chatresponse}\n")
51
  print(f"Wrote to datafile: {datetime.now()},{chatinput},{chatresponse}\n")
52
 
53
- repo.push_to_hub(files=[str(os.path.join("data", DATA_FILENAME))])
54
  print("pushed data.txt to repo")
55
 
56
  return generate_text()
 
50
  file.write(f"{datetime.now()},{chatinput},{chatresponse}\n")
51
  print(f"Wrote to datafile: {datetime.now()},{chatinput},{chatresponse}\n")
52
 
53
+ repo.push_to_hub([str(os.path.join("data", DATA_FILENAME))])
54
  print("pushed data.txt to repo")
55
 
56
  return generate_text()