lfernandopg commited on
Commit
7bde0d2
·
1 Parent(s): 68f9cb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,11 +1,14 @@
1
  import streamlit as st
2
  from PIL import Image
 
 
 
3
 
4
  file = st.file_uploader("Por favor suba una imagen de ropa", type=['jpg','png','jpeg'])
5
  if file is not None:
6
  bytes_data = file.read()
7
 
8
- col1, col2, col3 = st.beta_columns([1,6,1])
9
 
10
  with col1:
11
  st.write("")
 
1
  import streamlit as st
2
  from PIL import Image
3
+ import tensorflow as tf
4
+
5
+ model = tf.keras.models.load_model('model.h5')
6
 
7
  file = st.file_uploader("Por favor suba una imagen de ropa", type=['jpg','png','jpeg'])
8
  if file is not None:
9
  bytes_data = file.read()
10
 
11
+ col1, col2, col3 = st.columns(3)
12
 
13
  with col1:
14
  st.write("")