Download main.py from ArchCoder/faceforge: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/ArchCoder/faceforge/resolve/afb8be0dd7b2ca5f5f714ccf1fd73e413e87a638/main.py
- Command line
-
hf download hf://spaces/ArchCoder/faceforge@afb8be0dd7b2ca5f5f714ccf1fd73e413e87a638/main.py
-
curl -L -o main.py https://huggingface.co/spaces/ArchCoder/faceforge/resolve/afb8be0dd7b2ca5f5f714ccf1fd73e413e87a638/main.py
445 Bytes
| from latent_space_explorer import GameConfig, LatentSpaceExplorer | |
| if __name__ == "__main__": | |
| config = GameConfig( | |
| call_every = 100 | |
| ) | |
| explorer = LatentSpaceExplorer(config) | |
| explorer.set_prompts( | |
| [ | |
| "A photo of a cat", | |
| "A space-aged ferrari", | |
| "artwork of the titanic hitting an iceberg", | |
| "a photo of a dog" | |
| ] | |
| ) | |
| while True: | |
| explorer.update() |