sym
Browse files47 unmodified lines48495051525354555656 unmodified lines11311411511611711811912012112247 unmodified lines):geometry_model = geometry_model.to("cuda")if "Label" in args.geometry_model:out = geometry_model(input_image_path,label={"symmetry": symmetry, "edge_type": edge_type},guidance_scale=float(guidance_scale),octree_resolution=384,max_facenum=int(max_facenum),56 unmodified lines)max_facenum = gr.Number(label="Max Face Num", value="400000")symmetry = gr.Radio(choices=["x", "asymmetry"],label="Symmetry Type",value="x",type="value",)edge_type = gr.Radio(choices=["sharp", "normal", "smooth"],47 unmodified lines4849505152535455565756 unmodified lines11411511611711811912012112212347 unmodified lines):geometry_model = geometry_model.to("cuda")if "Label" in args.geometry_model:symmetry_values = ['x', 'asymmetry']out = geometry_model(input_image_path,label={"symmetry": symmetry_values[int(symmetry)], "edge_type": edge_type},guidance_scale=float(guidance_scale),octree_resolution=384,max_facenum=int(max_facenum),56 unmodified lines)max_facenum = gr.Number(label="Max Face Num", value="400000")symmetry = gr.Radio(choices=["symmetry", "asymmetry"],label="Symmetry Type",value="symmetry",type="index",)edge_type = gr.Radio(choices=["sharp", "normal", "smooth"],
app.py+5-4