Spaces:
Runtime error
Runtime error
Commit
·
1c18792
1
Parent(s):
1e8040b
type file
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ else:
|
|
44 |
# st.markdown("Я сделаю фото улыбчивым!")
|
45 |
|
46 |
# st.markdown(labels)
|
47 |
-
file = st.file_uploader("Загрузите своё фото:"
|
48 |
if file:
|
49 |
|
50 |
image_data = file.getvalue()
|
|
|
44 |
# st.markdown("Я сделаю фото улыбчивым!")
|
45 |
|
46 |
# st.markdown(labels)
|
47 |
+
file = st.file_uploader("Загрузите своё фото:", type=['png','jpeg','jpg'])
|
48 |
if file:
|
49 |
|
50 |
image_data = file.getvalue()
|