datnguyentien204 commited on
Commit
21984a4
1 Parent(s): 01db0f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ from PIL import Image
19
 
20
 
21
  model_file="model4.h5"
22
- img_file=st.file_uploader("Tải lên ảnh lớp",type=["png","jpg","jpeg"])
23
- temp_file2 = tempfile.NamedTemporaryFile(suffix=".pkl", delete=False)
24
  if img_file is not None:
25
  temp_file2.write(img_file.read())
26
 
 
19
 
20
 
21
  model_file="model4.h5"
22
+ img_file=st.file_uploader("Tải lên ảnh chó hoặc mèo",type=["png","jpg","jpeg"])
23
+ temp_file2 = tempfile.NamedTemporaryFile(delete=False)
24
  if img_file is not None:
25
  temp_file2.write(img_file.read())
26