test2 / app.py
ghosthamlet's picture
Update app.py
c4aca92
raw
history blame
315 Bytes
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)