shukdevdatta123 commited on
Commit
5dc35f8
·
verified ·
1 Parent(s): 9004361

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def predict_and_display(image_path, model):
100
  _, predicted = torch.max(outputs, 1)
101
 
102
  # Display the image and prediction
103
- st.image(image, caption='Uploaded Image', use_column_width=True)
104
  st.write(f"Predicted Digit: {predicted.item()}")
105
 
106
  # Streamlit UI
 
100
  _, predicted = torch.max(outputs, 1)
101
 
102
  # Display the image and prediction
103
+ st.image(image, caption='Uploaded Image', use_container_width=True)
104
  st.write(f"Predicted Digit: {predicted.item()}")
105
 
106
  # Streamlit UI