nehda10 commited on
Commit
2bbbf43
Β·
verified Β·
1 Parent(s): dd931ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -46,7 +46,7 @@ elif app_mode == "🩻 X-ray Classifier":
46
 
47
  uploaded_image = st.file_uploader("πŸ“€ Upload Chest X-ray", type=["jpg", "jpeg", "png"])
48
 
49
- if uploaded_image:
50
  with st.spinner("πŸ” Predicting..."):
51
  # βœ… Show files in directory to debug model path
52
  st.write("πŸ“ Files in directory:", os.listdir())
@@ -75,6 +75,7 @@ elif app_mode == "🩻 X-ray Classifier":
75
  st.error(f"🚫 Prediction failed. Error: `{e}`")
76
 
77
 
 
78
  # ------------------------- DATA ANALYSIS -------------------------
79
  elif app_mode == "πŸ“Š Global Data Analysis":
80
  st.header("πŸ“Š WHO COVID-19 Data Analysis")
 
46
 
47
  uploaded_image = st.file_uploader("πŸ“€ Upload Chest X-ray", type=["jpg", "jpeg", "png"])
48
 
49
+ if uploaded_image:
50
  with st.spinner("πŸ” Predicting..."):
51
  # βœ… Show files in directory to debug model path
52
  st.write("πŸ“ Files in directory:", os.listdir())
 
75
  st.error(f"🚫 Prediction failed. Error: `{e}`")
76
 
77
 
78
+
79
  # ------------------------- DATA ANALYSIS -------------------------
80
  elif app_mode == "πŸ“Š Global Data Analysis":
81
  st.header("πŸ“Š WHO COVID-19 Data Analysis")