Thank you again for this repo. I can't get the pixel drawer to work in Collab because it just renders black blank image, although it works fine locally. VQGAN works fine in both environments. Exact same code. Any idea what could be going on there?
#@title Settings for your run
#@markdown This text prompt is what the computer will try to draw.
#@title Parameters
prompts = "Nice house with a big tree and cars in front" #@param {type:"string"}
#@markdown you can trade off speed for quality
quality = "normal" #@param ["draft", "normal", "better", "best"]
#@markdown tall or wide?
aspect = "widescreen" #@param ["widescreen", "portrait", "square"]
drawer = "pixel" #@param ["vqgan", "pixel", "line_sketch", "clipdraw"]
#@markdown When you have the settings you want, press the play button on the left.
#@markdown The system will start drawing and show you results as it goes along.
# Simple setup from menu choices
import pixray
#pixray.reset_settings()
#pixray.add_settings(prompts=prompts, aspect=aspect, quality=quality)
#pixray.add_settings(vector_prompts="textoff")
pixray.reset_settings()
pixray.add_settings(prompts=prompts, aspect=aspect)
pixray.add_settings(quality=quality, scale=2.5)
pixray.add_settings(drawer=drawer)
pixray.add_settings(display_clear=True)
# Optional: you could put extra settings here...
# pixray.add_settings(display_clear=True)
# Apply these settings and run
settings = pixray.apply_settings()
pixray.do_init(settings)
pixray.do_run(settings)
``
<img width="671" alt="Screen Shot 2021-11-26 at 8 17 21 PM" src="https://user-images.githubusercontent.com/2185884/143666341-55575903-5047-4ef8-98c9-c92311657662.png">
Thank you again for this repo. I can't get the pixel drawer to work in Collab because it just renders black blank image, although it works fine locally. VQGAN works fine in both environments. Exact same code. Any idea what could be going on there?