Adding infinite sampling functionality + updating lm code to take multiple prompts

#3
by shyamsn97 - opened
  • Added some basic ability to continue building the level and iteratively sampling
  • Added a change in lm.py that allows for multiple prompts to be passed in

After pressing generate level button we get two sample options:
Screenshot from 2023-02-16 19-31-18.png

After pressing "Sample Choice 1", it appends the new portion to the existing level
Screenshot from 2023-02-16 19-31-46.png

Right now its far from a perfect implementation as I just hard coded the number of samples + buttons, but this lets us mix and match prompts while generating the level, which is cool.

Let me know what you think :)

Cannot merge
This branch has merge conflicts in the following files:
  • app.py

Sign up or log in to comment