Download app/ModelDirector/TextDirector.py from imlpfffff/HoLa-BRep: direct link, hf CLI and curl.
- Browser
- Download file 359 Bytes
-
https://huggingface.co/spaces/imlpfffff/HoLa-BRep/resolve/main/app/ModelDirector/TextDirector.py
- Command line
-
hf download hf://spaces/imlpfffff/HoLa-BRep/app/ModelDirector/TextDirector.py
-
curl -L -o TextDirector.py https://huggingface.co/spaces/imlpfffff/HoLa-BRep/resolve/main/app/ModelDirector/TextDirector.py
359 Bytes
| from app.ModelDirector import ModelDirector | |
| class TextDirector(ModelDirector): | |
| def get_ae_weights(self): | |
| return 'YuXingyao/HoLa-Brep/AE_deepcad_1100k.ckpt' | |
| def get_diffusion_weights(self): | |
| return 'YuXingyao/HoLa-Brep/Diffusion_txt_sq30_1000k.ckpt' | |
| def get_generating_condition(self): | |
| return 'txt' | |