Spaces:
Runtime error
Runtime error
import os | |
import requests | |
import streamlit as st | |
print('downloading...') | |
print(os.getcwd()) | |
res = requests.get('https://www.dropbox.com/s/4j4z58wuv8o0mfz/models.zip') | |
print('downloaded...') | |
with open('tmp.zip', 'wb') as f: | |
f.write(res.content) | |
st.write('<a href="tmp.zip">tmp.zip</a>', unsafe_allow_html=True) |