-
-
Save isozu/c3dde912cdfff1b6b7de39303e390633 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@title Text to image | |
prompt = "Lots of people are watching the sunset by the beach." #@param {type:"string"} | |
image = pipe(prompt)["sample"][0] | |
filename= prompt.replace(' ','_')+".png" | |
image.save(filename) | |
from IPython.display import Image,display | |
display(Image(filename)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment