zlmqi commited on
Commit
c3e4d1a
1 Parent(s): 0b7c2d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -50,10 +50,9 @@ class Chatbot:
50
  self.chat_history = []
51
 
52
  # access chat log file in data folder (persistent storage)
53
- dataset_dir = Path("logs")
54
- dataset_dir.mkdir(parents=True, exist_ok=True)
55
- self.dataset_path = dataset_dir / f"chat_log_{uuid4()}.json"
56
- #self.history_file = f"chat_log_{uuid.uuid4()}.json"
57
 
58
  #scheduler = CommitScheduler(
59
  # repo_id="index",
 
50
  self.chat_history = []
51
 
52
  # access chat log file in data folder (persistent storage)
53
+ #dataset_dir = Path("logs")
54
+ #dataset_dir.mkdir(parents=True, exist_ok=True)
55
+ #self.dataset_path = dataset_dir / f"chat_log_{uuid4()}.json"
 
56
 
57
  #scheduler = CommitScheduler(
58
  # repo_id="index",