Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -13,8 +13,8 @@ uploaded_img = st.file_uploader("Upload your file here...",type=['png', 'jpeg', 
     | 
|
| 13 | 
         
             
            if uploaded_img is not None:
         
     | 
| 14 | 
         
             
                st.image(uploaded_img)
         
     | 
| 15 | 
         
             
                img = Image.open(uploaded_img)
         
     | 
| 16 | 
         
            -
                 
     | 
| 17 | 
         
            -
                array = np.array( 
     | 
| 18 | 
         
             
                result = loaded_model.predict(array)
         
     | 
| 19 | 
         
             
                st.write(f"Your prediction is: {result}")
         
     | 
| 20 | 
         | 
| 
         | 
|
| 13 | 
         
             
            if uploaded_img is not None:
         
     | 
| 14 | 
         
             
                st.image(uploaded_img)
         
     | 
| 15 | 
         
             
                img = Image.open(uploaded_img)
         
     | 
| 16 | 
         
            +
                resized_img = img.resize((320,320))
         
     | 
| 17 | 
         
            +
                array = np.array(resized_img)
         
     | 
| 18 | 
         
             
                result = loaded_model.predict(array)
         
     | 
| 19 | 
         
             
                st.write(f"Your prediction is: {result}")
         
     | 
| 20 | 
         |