File size: 445 Bytes
2bf5660
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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()