Update app.py
Browse files108 unmodified lines109110111112113114115116117118108 unmodified linesbac_img = "./kaobianBottem.jpeg"bing_post = "bingpost/"spacing = 20imgs_ = os.listdir(bing_post)imgs_ = [i for i in imgs_ if i.endswith("png")]ch_img = random.choice(imgs_)front_img = os.path.join(bing_post, ch_img)postcard=myPost(front_img=front_img, img = bac_img)width, height = postcard.get_width_height()print(f"width, height :{width} {height}")108 unmodified lines109110111112113114115116117118119108 unmodified linesbac_img = "./kaobianBottem.jpeg"bing_post = "bingpost/"spacing = 20# imgs_ = os.listdir(bing_post)# imgs_ = [i for i in imgs_ if i.endswith("png")]# ch_img = random.choice(imgs_)# front_img = os.path.join(bing_post, ch_img)front_img = Nonepostcard=myPost(front_img=front_img, img = bac_img)width, height = postcard.get_width_height()print(f"width, height :{width} {height}")
app.py+5-4