rwcuffney commited on
Commit
ee02c03
1 Parent(s): 5d6d3be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -158,7 +158,7 @@ with st.form("api_form"):
158
  # To read file as bytes:
159
  bytes_data = uploaded_file.getvalue()
160
  #st.write(bytes_data)
161
- image = st.image(uploaded_file)
162
 
163
 
164
  submitted = st.form_submit_button("Submit")
 
158
  # To read file as bytes:
159
  bytes_data = uploaded_file.getvalue()
160
  #st.write(bytes_data)
161
+ image = Image.open(uploaded_file)
162
 
163
 
164
  submitted = st.form_submit_button("Submit")