subek commited on
Commit
162a649
·
verified ·
1 Parent(s): 6862a0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -73,9 +73,7 @@ def display_image_with_download(image_path, caption, download_text):
73
 
74
  # Streamlit app
75
  def main():
76
-
77
- st.set_page_config(page_title="Pneumonia Detection", page_icon=None, layout="centered", initial_sidebar_state="auto", menu_items=None)
78
-
79
  st.title("Pneumonia Detection")
80
 
81
  # Allow user to upload an image
@@ -112,13 +110,6 @@ def main():
112
  st.write("**Prediction:**")
113
  class_label = "Pneumonia" if prediction > 0.5 else "Normal"
114
  st.write(f"The image is classified as **{class_label}**.")
115
-
116
-
117
-
118
-
119
-
120
-
121
-
122
-
123
  if __name__ == "__main__":
124
  main()
 
73
 
74
  # Streamlit app
75
  def main():
76
+
 
 
77
  st.title("Pneumonia Detection")
78
 
79
  # Allow user to upload an image
 
110
  st.write("**Prediction:**")
111
  class_label = "Pneumonia" if prediction > 0.5 else "Normal"
112
  st.write(f"The image is classified as **{class_label}**.")
113
+
 
 
 
 
 
 
 
114
  if __name__ == "__main__":
115
  main()