rwcuffney commited on
Commit
faae59d
1 Parent(s): ee02c03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -163,14 +163,15 @@ with st.form("api_form"):
163
 
164
  submitted = st.form_submit_button("Submit")
165
  if submitted:
 
 
166
  #st.write(API_dict[api])
167
  #output = query(bytes_data,API_dict[api])
168
 
169
  #prediction = output[0]['label']
170
  #st.write(f'prediction = {prediction}')
171
  #st.text(output)
172
- prediction = predict(image)
173
- st.write(prediction)
174
 
175
 
176
 
 
163
 
164
  submitted = st.form_submit_button("Submit")
165
  if submitted:
166
+ prediction = predict(image)
167
+ st.write(prediction)
168
  #st.write(API_dict[api])
169
  #output = query(bytes_data,API_dict[api])
170
 
171
  #prediction = output[0]['label']
172
  #st.write(f'prediction = {prediction}')
173
  #st.text(output)
174
+
 
175
 
176
 
177