Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import wizmap
|
3 |
+
|
4 |
+
st.set_option('deprecation.showPyplotGlobalUse', False)
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
data_url = 'https://huggingface.co/datasets/xiaohk/embeddings/blob/main/imdb/data.ndjson'
|
9 |
+
grid_url = 'https://huggingface.co/datasets/xiaohk/embeddings/blob/main/imdb/grid.json'
|
10 |
+
|
11 |
+
|
12 |
+
st.write("# Display wizmap")
|
13 |
+
wizmap.visualize(data_url, grid_url, height=700)
|
14 |
+
|