geekyrakshit commited on
Commit
80ff741
1 Parent(s): aa1deb6

updated app

Browse files
Files changed (2) hide show
  1. 2.bmp +0 -0
  2. app.py +4 -0
2.bmp ADDED
app.py CHANGED
@@ -30,8 +30,12 @@ def main():
30
  if uploaded_file is not None:
31
  original_image = Image.open(uploaded_file)
32
  st.image(original_image, caption="original image")
 
33
  mirnet = get_mirnet_object()
 
 
34
  enhanced_image = mirnet.infer(original_image)
 
35
  st.image(enhanced_image, caption="enhanced image")
36
  backend.clear_session()
37
 
 
30
  if uploaded_file is not None:
31
  original_image = Image.open(uploaded_file)
32
  st.image(original_image, caption="original image")
33
+ st.sidebar.info("Loading MIRNet...")
34
  mirnet = get_mirnet_object()
35
+ st.sidebar.info("Done!")
36
+ st.sidebar.info("Processing Image...")
37
  enhanced_image = mirnet.infer(original_image)
38
+ st.sidebar.info("Done!")
39
  st.image(enhanced_image, caption="enhanced image")
40
  backend.clear_session()
41