Spaces:
Sleeping
Sleeping
add download button (#2)
Browse files192 unmodified lines19319419519619619719819942 unmodified lines242243244245246247248192 unmodified lines imwrite(restored_img, str(save_path))
restored_img = cv2.cvtColor(restored_img, cv2.COLOR_BGR2RGB) return restored_img return restored_img, save_path
42 unmodified lines gr.Slider(0, 1, value=0.5, step=0.01, label='Codeformer_Fidelity: 0 for better quality, 1 for better identity') ], [ gr.outputs.Image(type="numpy", label="Output"), gr.outputs.File(label="Download the output") ], title=title, description=description,app.py+2-1