Getting too many errors? Try this.

#493
by Pentameric - opened

On the official DALL-E Mini Github repo, there is a link to the below supplemental repository:
https://github.com/saharmor/dalle-playground

The DALL-E playground is based on DALL-E Mini and was designed so you could get your own private server set up. If you go to the Google Colab link under "Fast Usage" (I also put it at the bottom of the page), you can get your own DALL-E Mini up and running in a few minutes. 3 images with DALL-E Mini took me approximately 10 seconds to generate compared to 9 taking >1 minute.

Colab: https://colab.research.google.com/github/saharmor/dalle-playground/blob/main/backend/dalle_playground_backend.ipynb

app_port = 8000def app():

SyntaxError: invalid syntax

Thanks. This is a cool idea. Would love to get it running and I ran into the same error.

I had this running about a week ago without issue. I went ahead and tried to run it again and I am now running into that same error.

Playground is cool and all, but it's image generation was very limited for me. For example, I could make a prompt in Dall-E mini and have it generate faces. I couldn't get faces to generate with Playground with the same prompt.

But if you don't care about that and just want to generate images, then it's perfectly fine.

Sorry for being slow to reply. I will try to PR the git repo to fix that. All you need to do is put "def app()" on a new line.
app_port=8000def app():

becomes

app_port = 8000
def app():

Simple fix. Thanks very much. It's working.

Sign up or log in to comment