Spaces:
Runtime error
Runtime error
ghosthamlet
commited on
Commit
•
d7d5626
1
Parent(s):
54b504b
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import requests
|
|
|
2 |
|
|
|
3 |
res = requests.get('https://www.dropbox.com/s/4j4z58wuv8o0mfz/models.zip')
|
4 |
with open('tmp.zip', 'wb') as f:
|
5 |
-
f.write(res.content)
|
|
|
|
|
|
1 |
import requests
|
2 |
+
import streamlit as st
|
3 |
|
4 |
+
print('downloading...')
|
5 |
res = requests.get('https://www.dropbox.com/s/4j4z58wuv8o0mfz/models.zip')
|
6 |
with open('tmp.zip', 'wb') as f:
|
7 |
+
f.write(res.content)
|
8 |
+
|
9 |
+
st.write('<a href="tmp.zip">tmp.zip</a>', unsafe_allow_html=True)
|