Spaces:
Configuration error
Configuration error
Update app.py
Browse files31 unmodified lines323334353637383940414243444576 unmodified lines12212312412512612712812913031 unmodified lines3. If you want the refine result to be more consistent with the image, please manually increase the CFG strength."""EXAMPLES = [# [# {# "image": "assets/image/100.png",# },# "assets/model/100.glb",# 42,# False,# ]]76 unmodified linesif randomize_seed:seed = random.randint(0, MAX_SEED)# print("rgb_image", rgb_image)# print("mesh", rgb_image)if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:rgb_image = rgb_image["image"]31 unmodified lines323334353637383940414243444576 unmodified lines12212312412512612731 unmodified lines3. If you want the refine result to be more consistent with the image, please manually increase the CFG strength."""EXAMPLES = [[{"image": os.path.join(os.path.dirname(os.path.abspath(__file__)), "assets/image/100.png"),},os.path.join(os.path.dirname(os.path.abspath(__file__)), "assets/model/100.glb"),42,False,]]76 unmodified linesif randomize_seed:seed = random.randint(0, MAX_SEED)if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:rgb_image = rgb_image["image"]
app.py+8-11