Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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",
|