File size: 286 Bytes
6d9ae67
d74ac86
 
 
 
 
 
6d9ae67
 
 
d74ac86
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os
from pathlib import Path

import streamlit as st

x = st.slider('Select a value')
st.write(x, 'squared is', x * x)
from huggingface_hub import login

login(os.getenv('HF_TOKEN'))

hub_folder = Path('~/.cache/huggingface/hub')
for path in hub_folder.walk():
    st.write(path)