PrakhAI's picture
Update app.py
6b35775
raw
history blame
317 Bytes
import streamlit as st
import HfFileSystem
from flax.serialization import msgpack_restore
fs = HfFileSystem()
print(fs.ls("datasets"))
# with open("models/PrakhAI/HelloWorld/checkpoint.msgpack", "rb") as f:
# model = msgpack_restore(f.read())
x = st.slider('Select a value')
st.write(x, 'squared is', x * x)