Spaces:
Runtime error
Runtime error
Rens Dimmendaal
commited on
Commit
·
d8465af
1
Parent(s):
c5d7102
update upload instructions
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def make_tree_approximator(radial = False, max_depth=4):
|
|
56 |
|
57 |
st.write("## Try it out yourself:")
|
58 |
|
59 |
-
url = st.text_input("Image url:", "https://images.unsplash.com/reserve/bOvf94dPRxWu0u3QsPjF_tree.jpg?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1752&q=80")
|
60 |
img = PIL.Image.open(requests.get(url, stream=True).raw)
|
61 |
|
62 |
img_array = np.array(img)
|
|
|
56 |
|
57 |
st.write("## Try it out yourself:")
|
58 |
|
59 |
+
url = st.text_input("Image url (make sure it ends with .png/.jpg/...):", "https://images.unsplash.com/reserve/bOvf94dPRxWu0u3QsPjF_tree.jpg?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1752&q=80")
|
60 |
img = PIL.Image.open(requests.get(url, stream=True).raw)
|
61 |
|
62 |
img_array = np.array(img)
|