Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,7 @@ fs = HfFileSystem()
|
|
| 7 |
with fs.open("PrakhAI/HelloWorld/checkpoint.msgpack", "rb") as f:
|
| 8 |
state_dict = msgpack_restore(f.read())
|
| 9 |
print(state_dict)
|
|
|
|
| 10 |
|
| 11 |
x = st.slider('Select a value')
|
| 12 |
st.write(x, 'squared is', x * x)
|
|
|
|
| 7 |
with fs.open("PrakhAI/HelloWorld/checkpoint.msgpack", "rb") as f:
|
| 8 |
state_dict = msgpack_restore(f.read())
|
| 9 |
print(state_dict)
|
| 10 |
+
print(state_dict.keys())
|
| 11 |
|
| 12 |
x = st.slider('Select a value')
|
| 13 |
st.write(x, 'squared is', x * x)
|