nishantguvvada commited on
Commit
2c5d4dc
·
1 Parent(s): 4de778a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ st.write("""
16
  """
17
  )
18
 
19
- file = st.file_uploader("Upload an X-ray image")
20
- st.set_option('deprecation.showfileUploaderEncoding', False)
21
 
22
  st.set_option('deprecation.showfileUploaderEncoding', False)
23
  def model_prediction(img, model):
 
16
  """
17
  )
18
 
19
+ uploadedFile = st.file_uploader("Upload an X-ray image")
20
+ file = BytesIO(uploadedFile)
21
 
22
  st.set_option('deprecation.showfileUploaderEncoding', False)
23
  def model_prediction(img, model):