File size: 643 Bytes
a431d31
 
 
 
 
1795206
b9f3732
 
a431d31
 
 
abfea56
1795206
 
a431d31
 
 
7f1c847
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from datasets import load_dataset
import streamlit as st


@st.cache()
def load_all_repository_names():
    list_of_repo_names = ["test"]
    #list_of_repo_names = load_dataset("bigcode/the-stack-paths", split="train")["repository_name"]
    return list_of_repo_names

st.title("Am I in The Stack?")
st.markdown("This tool lets you check if a repository under a given username is part of [The Stack dataset](https://huggingface.co/datasets/bigcode/the-stack).")
repo_names = load_all_repository_names()
n_repos = len(repo_names)

username = st.text_input("GitHub Username:")

st.markdown("_Note_: this Space is currently under construction.")