Spaces:
Running
Running
| from functools import partial | |
| from pathlib import Path | |
| import kangas as kg | |
| import streamlit as st | |
| import streamlit.components.v1 as components | |
| from datasets import load_dataset | |
| import socket | |
| proj_dir = Path(__file__).parent | |
| servername = 'calebcometml-kangas-demo.hf.space' | |
| src = f"https://{servername}/kangas/?datagrid=.%2Fdatagrids%2Fcoco-500.datagrid" | |
| st.set_page_config(layout="wide") | |
| st.components.v1.iframe(src, None, 1000, scrolling=True) | |