Download constant.py from j21/Rodin: direct link, hf CLI and curl.
- Browser
- Download file 663 Bytes
-
https://huggingface.co/spaces/j21/Rodin/resolve/main/constant.py
- Command line
-
hf download hf://spaces/j21/Rodin/constant.py
-
curl -L -o constant.py https://huggingface.co/spaces/j21/Rodin/resolve/main/constant.py
663 Bytes
| # Replace with your own backend | |
| import os | |
| BASE_URL = os.getenv("BASE_URL") | |
| # Creds | |
| USER = os.getenv("USER") | |
| PASSWORD = os.getenv("PASSWORD") | |
| TOKEN = os.getenv("TOKEN") | |
| DEFAULT = [0, 0] | |
| CONTRAST = [360, 0] | |
| METAL = [0, 360] | |
| NORMAL = [360, 360] | |
| rodin_url = "https://hyperhuman.deemos.com/rodin" | |
| PROMPT_HINT_LIST = [ | |
| ["symmetric", "symmetric geometry."], | |
| ["character", "character."], | |
| ["low-poly", "low-poly."], | |
| ["high-poly", "high-poly."], | |
| ["sharp", "sharp edges."], | |
| ["smooth", "smooth edges."], | |
| ["simple", "simple geometry."], | |
| ["complex", "complex geometry."], | |
| ["single", "single asset."], | |
| ["game-ready", "game-ready."], | |
| ] |