Spaces:
Sleeping
Sleeping
Update few_shot.py
Browse files- few_shot.py +1 -1
few_shot.py
CHANGED
|
@@ -15,7 +15,7 @@ class FewShotPosts:
|
|
| 15 |
"""Dynamically load JSON based on the selected persona."""
|
| 16 |
self.df = None
|
| 17 |
self.unique_tags = None
|
| 18 |
-
self.file_path = f"
|
| 19 |
|
| 20 |
if os.path.exists(self.file_path): # Check if JSON exists
|
| 21 |
self.load_posts(self.file_path)
|
|
|
|
| 15 |
"""Dynamically load JSON based on the selected persona."""
|
| 16 |
self.df = None
|
| 17 |
self.unique_tags = None
|
| 18 |
+
self.file_path = f"processed_{persona_name.lower()}_posts.json"
|
| 19 |
|
| 20 |
if os.path.exists(self.file_path): # Check if JSON exists
|
| 21 |
self.load_posts(self.file_path)
|