File size: 450 Bytes
9adc040
 
 
30518e3
9adc040
 
 
df2ac1c
9adc040
 
 
2ab4866
94c1e2d
9adc040
 
 
81bb09e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)