Spaces:
Runtime error
Runtime error
MarkusStoll
commited on
Commit
•
1d1d003
1
Parent(s):
faa3b00
allow_filebrowsing fix
Browse files- .gitignore +2 -0
- run.py +1 -1
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
|
2 |
+
.venv/
|
run.py
CHANGED
@@ -24,4 +24,4 @@ if __name__ == "__main__":
|
|
24 |
df = dataset.to_pandas()
|
25 |
df_show = df.drop(columns=['embedding', 'probabilities'])
|
26 |
spotlight.show(df_show.sample(5000, random_state=1), port=7860, host="0.0.0.0",
|
27 |
-
dtype={"image": spotlight.Image, "embedding_reduced": spotlight.Embedding},
|
|
|
24 |
df = dataset.to_pandas()
|
25 |
df_show = df.drop(columns=['embedding', 'probabilities'])
|
26 |
spotlight.show(df_show.sample(5000, random_state=1), port=7860, host="0.0.0.0",
|
27 |
+
dtype={"image": spotlight.Image, "embedding_reduced": spotlight.Embedding}, allow_filebrowsing=False)
|