renatotn7 commited on
Commit
927b3fb
·
1 Parent(s): b4aaf0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -83,19 +83,20 @@ for img_path in img_list:
83
  else:
84
  save_restore_path = os.path.join("_output", 'restored_imgs', f'{basename}.{extension}')
85
  imwrite(restored_img, save_restore_path)
86
-
 
 
87
 
88
 
89
 
90
 
91
 
92
  def inference():
93
- os.system("ls ./_output")
94
- os.system("ls ./_output/cmp")
95
  input_img = cv2.imread("./_output/cmp/imagem-0001_0000.png" , cv2.IMREAD_COLOR)
96
  input_img= cv2.cvtColor(input_img,cv2.COLOR_BGR2RGB)
97
  st.image(input_img)
98
- os.system("ls ./_output/restored_imgs")
99
  #return Image.fromarray(restored_faces[0][:,:,::-1])
100
 
101
 
 
83
  else:
84
  save_restore_path = os.path.join("_output", 'restored_imgs', f'{basename}.{extension}')
85
  imwrite(restored_img, save_restore_path)
86
+ os.system("ls ./_output")
87
+ os.system("ls ./_output/cmp")
88
+ os.system("ls ./_output/restored_imgs")
89
 
90
 
91
 
92
 
93
 
94
  def inference():
95
+
 
96
  input_img = cv2.imread("./_output/cmp/imagem-0001_0000.png" , cv2.IMREAD_COLOR)
97
  input_img= cv2.cvtColor(input_img,cv2.COLOR_BGR2RGB)
98
  st.image(input_img)
99
+
100
  #return Image.fromarray(restored_faces[0][:,:,::-1])
101
 
102