Spaces:
Runtime error
Runtime error
Commit
·
1a3ddaa
1
Parent(s):
3120f87
Update streamlit_config.py
Browse files- streamlit_config.py +1 -1
streamlit_config.py
CHANGED
|
@@ -38,7 +38,7 @@ def run():
|
|
| 38 |
img_data = requests.get(img_url).content
|
| 39 |
with open('detect.jpg', 'wb') as handler:
|
| 40 |
handler.write(img_data)
|
| 41 |
-
Image.open('detect.jpg')
|
| 42 |
if not file:
|
| 43 |
return
|
| 44 |
|
|
|
|
| 38 |
img_data = requests.get(img_url).content
|
| 39 |
with open('detect.jpg', 'wb') as handler:
|
| 40 |
handler.write(img_data)
|
| 41 |
+
file = Image.open('detect.jpg')
|
| 42 |
if not file:
|
| 43 |
return
|
| 44 |
|