terence410 / ultimate-text-to-image

MIT License
32 stars 6 forks source link

error await is only valid in async functions and the top level bodies of modules in example #7

Open xshion13 opened 1 year ago

xshion13 commented 1 year ago

hello, i am learning javascript and need to know how to apply async await promise in that code of adding images

i am trying to put text to an image using 2 texts and then upload to imgur