Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,12 +89,9 @@ grid_url = 'https://huggingface.co/datasets/xiaohk/embeddings/blob/main/imdb/gri
|
|
| 89 |
|
| 90 |
# st.markdown(display_html(iframe, raw=True), unsafe_allow_html=True)
|
| 91 |
|
| 92 |
-
# # # Example usage in Streamlit
|
| 93 |
-
# # data_url = "https://example.com/data.json"
|
| 94 |
-
# # grid_url = "https://example.com/grid.json"
|
| 95 |
# visualize(data_url, grid_url)
|
| 96 |
|
| 97 |
|
| 98 |
-
st.write("# Display wizmap")
|
| 99 |
-
|
| 100 |
-
components.v1.html(
|
|
|
|
| 89 |
|
| 90 |
# st.markdown(display_html(iframe, raw=True), unsafe_allow_html=True)
|
| 91 |
|
|
|
|
|
|
|
|
|
|
| 92 |
# visualize(data_url, grid_url)
|
| 93 |
|
| 94 |
|
| 95 |
+
# st.write("# Display wizmap")
|
| 96 |
+
html =wizmap.visualize(data_url, grid_url)
|
| 97 |
+
components.v1.html(html, height=700))
|