Spaces:
Runtime error
Runtime error
added issue load
Browse files
run.py
CHANGED
@@ -15,6 +15,9 @@ if __name__ == "__main__":
|
|
15 |
|
16 |
df_show = df.drop(columns=['embedding', 'probabilities'])
|
17 |
|
|
|
|
|
|
|
18 |
while True:
|
19 |
view = spotlight.show(df_show, port=7860, host="0.0.0.0", issues=issues, layout="sliceline-layout.json",
|
20 |
dtype={"image": spotlight.Image, "embedding_reduced": spotlight.Embedding}, allow_filebrowsing=False)
|
|
|
15 |
|
16 |
df_show = df.drop(columns=['embedding', 'probabilities'])
|
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",
|
23 |
dtype={"image": spotlight.Image, "embedding_reduced": spotlight.Embedding}, allow_filebrowsing=False)
|