Spaces:
Runtime error
Runtime error
prints added
Browse files
run.py
CHANGED
@@ -7,7 +7,7 @@ if __name__ == "__main__":
|
|
7 |
cache_file = "dataset_cache.parquet"
|
8 |
issue_cache_file="sliceline.pkl"
|
9 |
|
10 |
-
|
11 |
|
12 |
#load dataframe from parquet
|
13 |
df = pd.read_parquet(cache_file)
|
@@ -17,6 +17,7 @@ if __name__ == "__main__":
|
|
17 |
|
18 |
with open(issue_cache_file, "rb") as file:
|
19 |
issues = pickle.load(file)
|
|
|
20 |
|
21 |
while True:
|
22 |
view = spotlight.show(df_show, port=7860, host="0.0.0.0", issues=issues, layout="sliceline-layout.json",
|
|
|
7 |
cache_file = "dataset_cache.parquet"
|
8 |
issue_cache_file="sliceline.pkl"
|
9 |
|
10 |
+
print('starting up')
|
11 |
|
12 |
#load dataframe from parquet
|
13 |
df = pd.read_parquet(cache_file)
|
|
|
17 |
|
18 |
with open(issue_cache_file, "rb") as file:
|
19 |
issues = pickle.load(file)
|
20 |
+
print('issues loaded')
|
21 |
|
22 |
while True:
|
23 |
view = spotlight.show(df_show, port=7860, host="0.0.0.0", issues=issues, layout="sliceline-layout.json",
|