Spaces:
Running on Zero
Running on Zero
Upload folder using huggingface_hub
Browse filesFiles changed (8)
- README.md+37-11
- assets/qrcode/discord.pngAdded
- assets/qrcode/wechat.pngAdded
- assets/qrcode/x.pngAdded
- assets/qrcode/xiaohongshu.pngAdded
- gradio_app.py+4-4
- hg_app.py+67-56
- minimal_demo.py+11-2
9 unmodified lines10111213141516171819202122232425262728293 unmodified lines333435363738394041424344454645 unmodified lines929394959697989959 unmodified lines1591601611621631641653 unmodified lines1691701711721731741751761771781791801 unmodified line1821831841851861871881891901911921931949 unmodified linesshort_description: Text-to-3D and Image-to-3D Generation---[中文阅读](README_zh_cn.md)<p align="center"><img src="./assets/images/teaser.jpg"></p><div align="center"><a href=https://3d.hunyuan.tencent.com target="_blank"><img src=https://img.shields.io/badge/Hunyuan3D-black.svg?logo=homepage height=22px></a><a href=https://huggingface.co/spaces/tencent/Hunyuan3D-2 target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Demo-276cb4.svg height=22px></a><a href=https://huggingface.co/tencent/Hunyuan3D-2 target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a><a href=https://3d-models.hunyuan.tencent.com/ target="_blank"><img src= https://img.shields.io/badge/Page-bb8a2e.svg?logo=github height=22px></a><a href=https://discord.gg/GuaWYwzKbX target="_blank"><img src= https://img.shields.io/badge/Page-white.svg?logo=discord height=22px></a></div>3 unmodified lines[//]: # ( <a href="#"><img alt="PyPI - Downloads" src="https://img.shields.io/pypi/v/mulankit?logo=pypi" height=22px></a>)<br><p align="center">“ Living out everyone’s imagination on creating and manipulating 3D assets.”</p>## 🔥 News- Jan 21, 2025: 💬 Release [Hunyuan3D 2.0](https://huggingface.co/spaces/tencent/Hunyuan3D-2). Please give it a try!## **Abstract**45 unmodified linesGeneration results of Hunyuan3D 2.0:<p align="left"><img src="assets/images/e2e-1.gif" height=300><img src="assets/images/e2e-2.gif" height=300></p>### Pretrained Models59 unmodified linesYou could also host a [Gradio](https://www.gradio.app/) App in your own computer via:```bashpip3 install gradio==3.39.0python3 gradio_app.py```3 unmodified lines- [x] Inference Code- [x] Model Checkpoints- [ ] ComfyUI- [ ] TensorRT Version## 🔗 BibTeXIf you found this repository helpful, please cite our report:```bibtex@misc{hunyuan3d22025tencent,1 unmodified lineauthor={Tencent Hunyuan3D Team},year={2025},}```## AcknowledgementsWe would like to thank the contributors tothe [DINOv2](https://github.com/facebookresearch/dinov2), [Stable Diffusion](https://github.com/Stability-AI/stablediffusion), [FLUX](https://github.com/black-forest-labs/flux), [diffusers](https://github.com/huggingface/diffusers)and [HuggingFace](https://huggingface.co) repositories, for their open research and exploration.## Star History9 unmodified lines10111213141516171819202122232425262728293031323 unmodified lines36373839404142434445464748495051525354555645 unmodified lines10210310410510610710810959 unmodified lines1691701711721731743 unmodified lines1781791801811821831841851861871881891901 unmodified line1921931941951961971981992002012022032042052062072082092102112122132142152162172182192209 unmodified linesshort_description: Text-to-3D and Image-to-3D Generation---[中文阅读](README_zh_cn.md)[日本語で読む](README_ja_jp.md)<p align="center"><img src="./assets/images/teaser.jpg"></p><div align="center"><a href=https://3d.hunyuan.tencent.com target="_blank"><img src=https://img.shields.io/badge/Official%20Site-black.svg?logo=homepage height=22px></a><a href=https://huggingface.co/spaces/tencent/Hunyuan3D-2 target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Demo-276cb4.svg height=22px></a><a href=https://huggingface.co/tencent/Hunyuan3D-2 target="_blank"><img src=https://img.shields.io/badge/%F0%9F%A4%97%20Models-d96902.svg height=22px></a><a href=https://3d-models.hunyuan.tencent.com/ target="_blank"><img src= https://img.shields.io/badge/Page-bb8a2e.svg?logo=github height=22px></a><a href=https://discord.gg/GuaWYwzKbX target="_blank"><img src= https://img.shields.io/badge/Discord-white.svg?logo=discord height=22px></a><a href=https://github.com/Tencent/Hunyuan3D-2/blob/main/assets/report/Tencent_Hunyuan3D_2_0.pdf target="_blank"><img src=https://img.shields.io/badge/Report-b5212f.svg?logo=arxiv height=22px></a></div>3 unmodified lines[//]: # ( <a href="#"><img alt="PyPI - Downloads" src="https://img.shields.io/pypi/v/mulankit?logo=pypi" height=22px></a>)> Join our **[Wechat](#find-us)** and **[Discord](#find-us)** group to discuss and find help from us.<p align="center">“ Living out everyone’s imagination on creating and manipulating 3D assets.”</p>## 🔥 News- Jan 21, 2025: 💬 Enjoy exciting 3D generation on our website [Hunyuan3D Studio](https://3d.hunyuan.tencent.com)!- Jan 21, 2025: 💬 Release inference code and pretrained modelsof [Hunyuan3D 2.0](https://huggingface.co/tencent/Hunyuan3D-2).- Jan 21, 2025: 💬 Release Hunyuan3D 2.0. Please give it a tryvia [huggingface space](https://huggingface.co/spaces/tencent/Hunyuan3D-2)our [official site](https://3d.hunyuan.tencent.com)!## **Abstract**45 unmodified linesGeneration results of Hunyuan3D 2.0:<p align="left"><img src="assets/images/e2e-1.gif" height=250><img src="assets/images/e2e-2.gif" height=250></p>### Pretrained Models59 unmodified linesYou could also host a [Gradio](https://www.gradio.app/) App in your own computer via:```bashpython3 gradio_app.py```3 unmodified lines- [x] Inference Code- [x] Model Checkpoints- [x] Technical Report- [ ] ComfyUI- [ ] TensorRT Version## 🔗 BibTeXIf you found this repository helpful, please cite our reports:```bibtex@misc{hunyuan3d22025tencent,1 unmodified lineauthor={Tencent Hunyuan3D Team},year={2025},}@misc{yang2024tencent,title={Tencent Hunyuan3D-1.0: A Unified Framework for Text-to-3D and Image-to-3D Generation},year={2024},author={Tencent Hunyuan3D Team},eprint={2411.02293},archivePrefix={arXiv},primaryClass={cs.CV}}```## AcknowledgementsWe would like to thank the contributors tothe [DINOv2](https://github.com/facebookresearch/dinov2), [Stable Diffusion](https://github.com/Stability-AI/stablediffusion), [FLUX](https://github.com/black-forest-labs/flux), [diffusers](https://github.com/huggingface/diffusers), [HuggingFace](https://huggingface.co), [CraftsMan3D](https://github.com/wyysf-98/CraftsMan3D),and [Michelangelo](https://github.com/NeuralCarver/Michelangelo/tree/main) repositories, for their open research andexploration.## Find Us| Wechat Group | Xiaohongshu | X | Discord ||--------------|-------------|---|---------|| | | | |## Star History
137 unmodified lines1381391401411421431445 unmodified lines15015115215315415515626 unmodified lines183184185186187188189176 unmodified lines366367368369370371372137 unmodified linestime_meta['image_to_textured_3d'] = {'total': time.time() - start_time}time_meta['total'] = time.time() - start_time_0stats['time'] = time_metareturn mesh, save_folderdef generation_all(5 unmodified linesoctree_resolution=256,check_box_rembg=False):mesh, save_folder = _gen_shape(caption,image,steps=steps,26 unmodified linesoctree_resolution=256,check_box_rembg=False,):mesh, save_folder = _gen_shape(caption,image,steps=steps,176 unmodified linesif args.enable_t23d:from hy3dgen.text2image import HunyuanDiTPipelinet2i_worker = HunyuanDiTPipeline('Tencent-Hunyuan/HunyuanDiT-v1.1-Diffusers-Distilled')HAS_T2I = Truefrom hy3dgen.shapegen import FaceReducer, FloaterRemover, DegenerateFaceRemover, \137 unmodified lines1381391401411421431445 unmodified lines15015115215315415515626 unmodified lines183184185186187188189176 unmodified lines366367368369370371372137 unmodified linestime_meta['image_to_textured_3d'] = {'total': time.time() - start_time}time_meta['total'] = time.time() - start_time_0stats['time'] = time_metareturn mesh, image, save_folderdef generation_all(5 unmodified linesoctree_resolution=256,check_box_rembg=False):mesh, image, save_folder = _gen_shape(caption,image,steps=steps,26 unmodified linesoctree_resolution=256,check_box_rembg=False,):mesh, image, save_folder = _gen_shape(caption,image,steps=steps,176 unmodified linesif args.enable_t23d:from hy3dgen.text2image import HunyuanDiTPipelinet2i_worker = HunyuanDiTPipeline('Tencent-Hunyuan--HunyuanDiT-v1.1-Diffusers-Distilled')HAS_T2I = Truefrom hy3dgen.shapegen import FaceReducer, FloaterRemover, DegenerateFaceRemover, \
123453 unmodified lines91011121314151612 unmodified lines293031323334351 unmodified line3738394041427 unmodified lines505152535455565758596061626364656667682 unmodified lines7172737475767778798081828384858624 unmodified lines1111121131141151161171181191201211221231241251261271288 unmodified lines13713813914014114214324 unmodified lines1681691701711721731741751761771781791801811821831842 unmodified lines1871881891901911921932 unmodified lines1961971981992002012022032042052062072082092102112122132142152162172 unmodified lines22022122222322422522622722822923023123223315 unmodified lines24925025125225325425519 unmodified lines27527627727827928028128228347 unmodified lines33133233333433533633710 unmodified lines3483493503513523533543553563576 unmodified lines364365366367368369370371372373# pip install gradio==4.44.1if True:import osimport spacesimport subprocess3 unmodified linesprint("cd /home/user/app/hy3dgen/texgen/differentiable_renderer/ && bash compile_mesh_painter.sh")os.system("cd /home/user/app/hy3dgen/texgen/differentiable_renderer/ && bash compile_mesh_painter.sh")print('install custom')subprocess.run(shlex.split("pip install custom_rasterizer-0.1-cp310-cp310-linux_x86_64.whl"), check=True)IP = "0.0.0.0"PORT = 786012 unmodified linesimport timefrom glob import globfrom pathlib import Pathimport gradio as grimport torchimport uvicorn1 unmodified linefrom fastapi.staticfiles import StaticFilesdef get_example_img_list():print('Loading example img list ...')return sorted(glob('./assets/example_images/*.png'))7 unmodified linesreturn txt_listdef gen_save_folder(max_size=60):os.makedirs(SAVE_DIR, exist_ok=True)exists = set(int(_) for _ in os.listdir(SAVE_DIR) if not _.startswith("."))cur_id = min(set(range(max_size)) - exists) if len(exists) < max_size else -1if os.path.exists(f"{SAVE_DIR}/{(cur_id + 1) % max_size}"):shutil.rmtree(f"{SAVE_DIR}/{(cur_id + 1) % max_size}")print(f"remove {SAVE_DIR}/{(cur_id + 1) % max_size} success !!!")save_folder = f"{SAVE_DIR}/{max(0, cur_id)}"os.makedirs(save_folder, exist_ok=True)print(f"mkdir {save_folder} suceess !!!")return save_folderdef export_mesh(mesh, save_folder, textured=False):if textured:path = os.path.join(save_folder, f'textured_mesh.glb')2 unmodified linesmesh.export(path, include_normals=textured)return pathdef build_model_viewer_html(save_folder, height=660, width=790, textured=False):if textured:related_path = f"./textured_mesh.glb"template_name = './assets/modelviewer-textured-template.html'output_html_path = os.path.join(save_folder, f'textured_mesh.html')else:related_path = f"./white_mesh.glb"template_name = './assets/modelviewer-template.html'output_html_path = os.path.join(save_folder, f'white_mesh.html')with open(os.path.join(CURRENT_DIR, template_name), 'r') as f:template_html = f.read()24 unmodified lines</div>"""@spaces.GPU(duration=100)def _gen_shape(caption,image,steps=50,guidance_scale=7.5,seed=1234,octree_resolution=256,check_box_rembg=False,):if caption: print('prompt is', caption)save_folder = gen_save_folder()stats = {}time_meta = {}start_time_0 = time.time()8 unmodified linesimage.save(os.path.join(save_folder, 'input.png'))print(image.mode)if check_box_rembg or image.mode == "RGB":start_time = time.time()image = rmbg_worker(image.convert('RGB'))24 unmodified linestime_meta['image_to_textured_3d'] = {'total': time.time() - start_time}time_meta['total'] = time.time() - start_time_0stats['time'] = time_metareturn mesh, save_folder, image@spaces.GPU(duration=150)def generation_all(caption,image,steps=50,guidance_scale=7.5,seed=1234,octree_resolution=256,check_box_rembg=False):mesh, save_folder, image = _gen_shape(caption,2 unmodified linesguidance_scale=guidance_scale,seed=seed,octree_resolution=octree_resolution,check_box_rembg=check_box_rembg)path = export_mesh(mesh, save_folder, textured=False)model_viewer_html = build_model_viewer_html(save_folder, height=596, width=700)2 unmodified linespath_textured = export_mesh(textured_mesh, save_folder, textured=True)model_viewer_html_textured = build_model_viewer_html(save_folder, height=596, width=700, textured=True)return (gr.update(value=path, visible=True),gr.update(value=path_textured, visible=True),model_viewer_html,model_viewer_html_textured,)@spaces.GPU(duration=100)def shape_generation(caption,image,steps=50,guidance_scale=7.5,seed=1234,octree_resolution=256,check_box_rembg=False,):mesh, save_folder, image = _gen_shape(caption,2 unmodified linesguidance_scale=guidance_scale,seed=seed,octree_resolution=octree_resolution,check_box_rembg=check_box_rembg)path = export_mesh(mesh, save_folder, textured=False)model_viewer_html = build_model_viewer_html(save_folder, height=596, width=700)return (gr.update(value=path, visible=True),model_viewer_html,)15 unmodified lines</div>"""with gr.Blocks(theme=gr.themes.Base(), title='Hunyuan-3D-2.0') as demo:gr.HTML(title_html)with gr.Row():19 unmodified linesbtn = gr.Button(value='Generate Shape Only', variant='primary')btn_all = gr.Button(value='Generate Shape and Texture', variant='primary', visible=HAS_TEXTUREGEN)with gr.Group():file_out = gr.File(label="File", visible=False)file_out2 = gr.File(label="File", visible=False)with gr.Column(scale=5):with gr.Tabs():47 unmodified lines],outputs=[file_out, html_output1]).then(lambda: gr.update(visible=True),outputs=[file_out],)10 unmodified lines],outputs=[file_out, file_out2, html_output1, html_output2]).then(lambda: (gr.update(visible=True), gr.update(visible=True)),outputs=[file_out, file_out2],)return demo6 unmodified linesparser.add_argument('--enable_t23d', default=True)args = parser.parse_args()SAVE_DIR = args.cache_pathos.makedirs(SAVE_DIR, exist_ok=True)CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))HTML_OUTPUT_PLACEHOLDER = """<div style='height: 596px; width: 100%; border-radius: 8px; border-color: #e5e7eb; order-style: solid; border-width: 1px;'></div>123453 unmodified lines91011121314151612 unmodified lines2930313233343536371 unmodified line39404142434445464748495051527 unmodified lines6061626364652 unmodified lines68697071727374757677787980818224 unmodified lines1071081091101111121131141151161171181191201211221231241251268 unmodified lines13513613713813914014124 unmodified lines1661671681691701711721731741751761771781791801811821831841852 unmodified lines1881891901911921931941952 unmodified lines1981992002012022032042052062072082092102112122132142152162172182192202212 unmodified lines22422522622722822923023123223323423523623723815 unmodified lines25425525625725825926019 unmodified lines28028128228328428528628728828929029129247 unmodified lines34034134234334434534610 unmodified lines3573583593603613623633643653663673683696 unmodified lines376377378379380381382383384# pip install gradio==4.44.1if False:import osimport spacesimport subprocess3 unmodified linesprint("cd /home/user/app/hy3dgen/texgen/differentiable_renderer/ && bash compile_mesh_painter.sh")os.system("cd /home/user/app/hy3dgen/texgen/differentiable_renderer/ && bash compile_mesh_painter.sh")print('install custom')subprocess.run(shlex.split("pip install custom_rasterizer-0.1-cp310-cp310-linux_x86_64.whl"), check=True)IP = "0.0.0.0"PORT = 786012 unmodified linesimport timefrom glob import globfrom pathlib import Pathfrom PIL import Imagefrom datetime import datetimeimport uuidimport gradio as grimport torchimport uvicorn1 unmodified linefrom fastapi.staticfiles import StaticFilesdef start_session(req: gr.Request):save_folder = os.path.join(SAVE_DIR, str(req.session_hash))os.makedirs(save_folder, exist_ok=True)def end_session(req: gr.Request):save_folder = os.path.join(SAVE_DIR, str(req.session_hash))shutil.rmtree(save_folder)def get_example_img_list():print('Loading example img list ...')return sorted(glob('./assets/example_images/*.png'))7 unmodified linesreturn txt_listdef export_mesh(mesh, save_folder, textured=False):if textured:path = os.path.join(save_folder, f'textured_mesh.glb')2 unmodified linesmesh.export(path, include_normals=textured)return pathdef build_model_viewer_html(save_folder, height=660, width=790, textured=False):if textured:related_path = f"./textured_mesh.glb"template_name = './assets/modelviewer-textured-template.html'output_html_path = os.path.join(save_folder, f'{uuid.uuid4()}_textured_mesh.html')else:related_path = f"./white_mesh.glb"template_name = './assets/modelviewer-template.html'output_html_path = os.path.join(save_folder, f'{uuid.uuid4()}_white_mesh.html')with open(os.path.join(CURRENT_DIR, template_name), 'r') as f:template_html = f.read()24 unmodified lines</div>"""@spaces.GPU(duration=100)def _gen_shape(caption: str,image: Image.Image,steps: int,guidance_scale: float,seed: int,octree_resolution: int,check_box_rembg: bool,req: gr.Request,):if caption: print('prompt is', caption)save_folder = os.path.join(SAVE_DIR, str(req.session_hash))stats = {}time_meta = {}start_time_0 = time.time()8 unmodified linesimage.save(os.path.join(save_folder, 'input.png'))print(f"[{datetime.now()}][HunYuan3D-2]]", str(req.session_hash), image.mode)if check_box_rembg or image.mode == "RGB":start_time = time.time()image = rmbg_worker(image.convert('RGB'))24 unmodified linestime_meta['image_to_textured_3d'] = {'total': time.time() - start_time}time_meta['total'] = time.time() - start_time_0stats['time'] = time_metatorch.cuda.empty_cache()return mesh, save_folder, image@spaces.GPU(duration=150)def generation_all(caption: str,image: Image.Image,steps: int,guidance_scale: float,seed: int,octree_resolution: int,check_box_rembg: bool,req: gr.Request,):mesh, save_folder, image = _gen_shape(caption,2 unmodified linesguidance_scale=guidance_scale,seed=seed,octree_resolution=octree_resolution,check_box_rembg=check_box_rembg,req=req)path = export_mesh(mesh, save_folder, textured=False)model_viewer_html = build_model_viewer_html(save_folder, height=596, width=700)2 unmodified linespath_textured = export_mesh(textured_mesh, save_folder, textured=True)model_viewer_html_textured = build_model_viewer_html(save_folder, height=596, width=700, textured=True)torch.cuda.empty_cache()return (path,path_textured,model_viewer_html,model_viewer_html_textured,)@spaces.GPU(duration=100)def shape_generation(caption: str,image: Image.Image,steps: int,guidance_scale: float,seed: int,octree_resolution: int,check_box_rembg: bool,req: gr.Request,):mesh, save_folder, image = _gen_shape(caption,2 unmodified linesguidance_scale=guidance_scale,seed=seed,octree_resolution=octree_resolution,check_box_rembg=check_box_rembg,req=req,)path = export_mesh(mesh, save_folder, textured=False)model_viewer_html = build_model_viewer_html(save_folder, height=596, width=700)return (path,model_viewer_html,)15 unmodified lines</div>"""with gr.Blocks(theme=gr.themes.Base(), title='Hunyuan-3D-2.0', delete_cache=(1000,1000)) as demo:gr.HTML(title_html)with gr.Row():19 unmodified linesbtn = gr.Button(value='Generate Shape Only', variant='primary')btn_all = gr.Button(value='Generate Shape and Texture', variant='primary', visible=HAS_TEXTUREGEN)# with gr.Group():# file_out = gr.File(label="File", visible=False)# file_out2 = gr.File(label="File", visible=False)with gr.Group():file_out = gr.DownloadButton(label="Download White Mesh", interactive=False)file_out2 = gr.DownloadButton(label="Download Textured Mesh", interactive=False)with gr.Column(scale=5):with gr.Tabs():47 unmodified lines],outputs=[file_out, html_output1]).then(lambda: gr.Button(interactive=True),outputs=[file_out],)10 unmodified lines],outputs=[file_out, file_out2, html_output1, html_output2]).then(lambda: (gr.Button(interactive=True),gr.Button(interactive=True)),outputs=[file_out, file_out2],)demo.load(start_session)demo.unload(end_session)return demo6 unmodified linesparser.add_argument('--enable_t23d', default=True)args = parser.parse_args()CURRENT_DIR = os.path.dirname(os.path.abspath(__file__))SAVE_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), args.cache_path)os.makedirs(SAVE_DIR, exist_ok=True)HTML_OUTPUT_PLACEHOLDER = """<div style='height: 596px; width: 100%; border-radius: 8px; border-color: #e5e7eb; order-style: solid; border-width: 1px;'></div>
22 unmodified lines2324252627281 unmodified line303132333435363738393 unmodified lines4344454647484922 unmodified lines# by Tencent in accordance with TENCENT HUNYUAN COMMUNITY LICENSE AGREEMENT.import torchfrom hy3dgen.rembg import BackgroundRemoverfrom hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline, FaceReducer, FloaterRemover, DegenerateFaceRemover1 unmodified linedef image_to_3d(image_path='assets/demo.png'):model_path = 'Hunyuan3D-2'pipeline = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained(model_path)mesh = pipeline(image=image_path, num_inference_steps=30, mc_algo='mc',generator=torch.manual_seed(2025))[0]mesh = FloaterRemover()(mesh)mesh = DegenerateFaceRemover()(mesh)3 unmodified linestry:from hy3dgen.texgen import Hunyuan3DPaintPipelinepipeline = Hunyuan3DPaintPipeline.from_pretrained(model_path)mesh = pipeline(mesh, image=image_path)mesh.export('texture.glb')except Exception as e:print(e)22 unmodified lines232425262728291 unmodified line3132333435363738394041424344454647483 unmodified lines5253545556575822 unmodified lines# by Tencent in accordance with TENCENT HUNYUAN COMMUNITY LICENSE AGREEMENT.import torchfrom PIL imprt Imagefrom hy3dgen.rembg import BackgroundRemoverfrom hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline, FaceReducer, FloaterRemover, DegenerateFaceRemover1 unmodified linedef image_to_3d(image_path='assets/demo.png'):rembg = BackgroundRemover()model_path = 'Hunyuan3D-2'image = Image.open(image_path)image = image.resize((1024, 1024))if image.mode == 'RGB':image = rembg(image)pipeline = Hunyuan3DDiTFlowMatchingPipeline.from_pretrained(model_path)mesh = pipeline(image=image, num_inference_steps=30, mc_algo='mc',generator=torch.manual_seed(2025))[0]mesh = FloaterRemover()(mesh)mesh = DegenerateFaceRemover()(mesh)3 unmodified linestry:from hy3dgen.texgen import Hunyuan3DPaintPipelinepipeline = Hunyuan3DPaintPipeline.from_pretrained(model_path)mesh = pipeline(mesh, image=image)mesh.export('texture.glb')except Exception as e:print(e)
README.md+37-11
assets/qrcode/discord.pngAdded

assets/qrcode/wechat.pngAdded

assets/qrcode/x.pngAdded

assets/qrcode/xiaohongshu.pngAdded

gradio_app.py+4-4
hg_app.py+67-56
minimal_demo.py+11-2