Spaces:
Runtime error
Runtime error
hillman2000hk
commited on
Commit
•
f42a0d6
1
Parent(s):
e6edfc7
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def main():
|
|
40 |
st.set_page_config(page_title="Image to Story", page_icon="📚", layout="wide")
|
41 |
|
42 |
st.title("Image to Story")
|
43 |
-
uploaded_file = st.file_uploader("Choose an image...", type="png")
|
44 |
|
45 |
if uploaded_file is not None:
|
46 |
bytes_data = uploaded_file.getvalue()
|
|
|
40 |
st.set_page_config(page_title="Image to Story", page_icon="📚", layout="wide")
|
41 |
|
42 |
st.title("Image to Story")
|
43 |
+
uploaded_file = st.file_uploader("Choose an image...", type=["jpg","png"])
|
44 |
|
45 |
if uploaded_file is not None:
|
46 |
bytes_data = uploaded_file.getvalue()
|