Spaces:
Build error
Build error
meg-huggingface
commited on
Commit
·
e122a90
1
Parent(s):
7c5239c
One more flag passing needed for setting live deployment
Browse files
data_measurements/dataset_statistics.py
CHANGED
|
@@ -727,6 +727,7 @@ class nPMIStatisticsCacheClass:
|
|
| 727 |
by calling the nPMI class with the user's selections."""
|
| 728 |
|
| 729 |
def __init__(self, dataset_stats, use_cache=False):
|
|
|
|
| 730 |
self.dstats = dataset_stats
|
| 731 |
self.pmi_cache_path = pjoin(self.dstats.cache_path, "pmi_files")
|
| 732 |
if not isdir(self.pmi_cache_path):
|
|
|
|
| 727 |
by calling the nPMI class with the user's selections."""
|
| 728 |
|
| 729 |
def __init__(self, dataset_stats, use_cache=False):
|
| 730 |
+
self.live = dataset_stats.live
|
| 731 |
self.dstats = dataset_stats
|
| 732 |
self.pmi_cache_path = pjoin(self.dstats.cache_path, "pmi_files")
|
| 733 |
if not isdir(self.pmi_cache_path):
|