-
-
Save adrianhajdin/b2264e1f443a0003d6947549b9e07ec5 to your computer and use it in GitHub Desktop.
export const surpriseMePrompts = [ | |
'an armchair in the shape of an avocado', | |
'a surrealist dream-like oil painting by Salvador Dalí of a cat playing checkers', | |
'teddy bears shopping for groceries in Japan, ukiyo-e', | |
'an oil painting by Matisse of a humanoid robot playing chess', | |
'panda mad scientist mixing sparkling chemicals, digital art', | |
"a macro 35mm photograph of two mice in Hawaii, they're each wearing tiny swimsuits and are carrying tiny surf boards, digital art", | |
'3D render of a cute tropical fish in an aquarium on a dark blue background, digital art', | |
'an astronaut lounging in a tropical resort in space, vaporwave', | |
'an oil painting portrait of a capybara wearing medieval royal robes and an ornate crown on a dark background', | |
'a stained glass window depicting a hamburger and french fries', | |
'a pencil and watercolor drawing of a bright city in the future with flying cars', | |
'a sunlit indoor lounge area with a pool with clear water and another pool with translucent pastel pink water, next to a big window, digital art', | |
'a fortune-telling shiba inu reading your fate in a giant hamburger, digital art', | |
'"a sea otter with a pearl earring" by Johannes Vermeer', | |
'an oil pastel drawing of an annoyed cat in a spaceship', | |
'a painting of a fox in the style of Starry Night', | |
'a bowl of soup that looks like a monster, knitted out of wool', | |
'A plush toy robot sitting against a yellow wall', | |
'A synthwave style sunset above the reflecting water of the sea, digital art', | |
'Two futuristic towers with a skybridge covered in lush foliage, digital art', | |
'A 3D render of a rainbow colored hot air balloon flying above a reflective lake', | |
'A comic book cover of a superhero wearing headphones', | |
'A centered explosion of colorful powder on a black background', | |
'A photo of a Samoyed dog with its tongue out hugging a white Siamese cat', | |
'A photo of a white fur monster standing in a purple room', | |
"A photo of Michelangelo's sculpture of David wearing headphones djing", | |
'A Samurai riding a Horse on Mars, lomography.', | |
'A modern, sleek Cadillac drives along the Gardiner expressway with downtown Toronto in the background, with a lens flare, 50mm photography', | |
'A realistic photograph of a young woman with blue eyes and blonde hair', | |
'A man standing in front of a stargate to another dimension', | |
'Spongebob Squarepants in the Blair Witch Project', | |
'A velociraptor working at a hotdog stand, lomography', | |
'A man walking through the bustling streets of Kowloon at night, lit by many bright neon shop signs, 50mm lens', | |
'A BBQ that is alive, in the style of a Pixar animated movie', | |
'A futuristic cyborg dance club, neon lights', | |
'The long-lost Star Wars 1990 Japanese Anime', | |
'A hamburger in the shape of a Rubik’s cube, professional food photography', | |
'A Synthwave Hedgehog, Blade Runner Cyberpunk', | |
'An astronaut encountering an alien life form on a distant planet, photography', | |
'A Dinosaur exploring Cape Town, photography', | |
'A Man falling in Love with his Computer, digital art', | |
'A photograph of a cyborg exploring Tokyo at night, lomography', | |
'Dracula walking down the street of New York City in the 1920s, black and white photography', | |
'Synthwave aeroplane', | |
'A man wanders through the rainy streets of Tokyo, with bright neon signs, 50mm', | |
'A Space Shuttle flying above Cape Town, digital art', | |
]; |
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
* { | |
font-family: 'Inter', sans-serif; | |
} | |
@media screen and (min-width: 480px) { | |
.card:nth-child(7n + 1) { | |
grid-column: auto/span 2; | |
grid-row: auto/span 2; | |
} | |
} | |
.prompt::-webkit-scrollbar { | |
width: 5px; | |
} | |
.prompt::-webkit-scrollbar-thumb { | |
background-color: #666e75; | |
border-radius: 5px; | |
} |
import React from 'react'; | |
const Loader = () => ( | |
<div role="status"> | |
<svg aria-hidden="true" className="inline w-10 h-10 mr-2 text-gray-200 animate-spin fill-[#6469ff]" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
<path d="M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z" fill="currentColor" /> | |
<path d="M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z" fill="currentFill" /> | |
</svg> | |
</div> | |
); | |
export default Loader; |
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
content: ['./src/**/*.{js,jsx}'], | |
theme: { | |
extend: { | |
screens: { | |
xs: '480px', | |
}, | |
fontFamily: { | |
inter: ['Inter var', 'sans-serif'], | |
}, | |
boxShadow: { | |
card: '0 0 1px 0 rgba(189,192,207,0.06),0 10px 16px -1px rgba(189,192,207,0.2)', | |
cardhover: '0 0 1px 0 rgba(189,192,207,0.06),0 10px 16px -1px rgba(189,192,207,0.4)', | |
}, | |
}, | |
}, | |
plugins: [], | |
}; |
So have been getting this message in the console after deploying on render and netlify;
Mixed Content: The page at 'https://ai-image-generationn.netlify.app/' was loaded over HTTPS, but requested an insecure element 'http://res.cloudinary.com/dd5kccbtn/image/upload/v1711245445/xrsjhtij8dkzituua5pn.png'. This request was automatically upgraded to HTTPS, For more information, see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
So it's basically saying, that the images from Cloudinary are "HTTP" instead of "HTTPS", it also loads for a long time so I assume that it is taking a while because it is changing it to HTTPS; is there a way to make it https by myself?
So have been getting this message in the console after deploying on render and netlify; Mixed Content: The page at 'https://ai-image-generationn.netlify.app/' was loaded over HTTPS, but requested an insecure element 'http://res.cloudinary.com/dd5kccbtn/image/upload/v1711245445/xrsjhtij8dkzituua5pn.png'. This request was automatically upgraded to HTTPS, For more information, see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
So it's basically saying, that the images from Cloudinary are "HTTP" instead of "HTTPS", it also loads for a long time so I assume that it is taking a while because it is changing it to HTTPS; is there a way to make it https by myself?
So , How did you solve this problem
please tell me
So have been getting this message in the console after deploying on render and netlify; Mixed Content: The page at 'https://ai-image-generationn.netlify.app/' was loaded over HTTPS, but requested an insecure element 'http://res.cloudinary.com/dd5kccbtn/image/upload/v1711245445/xrsjhtij8dkzituua5pn.png'. This request was automatically upgraded to HTTPS, For more information, see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
So it's basically saying, that the images from Cloudinary are "HTTP" instead of "HTTPS", it also loads for a long time so I assume that it is taking a while because it is changing it to HTTPS; is there a way to make it https by myself?So , How did you solve this problem please tell me
I went to the MongoDB atlas, where the data is saved, and manually changed the "HTTP" into "https"
how can I resolve from these error, error look like { import { Configuration, OpenAIApi } from 'openai'; ^^^^^^^^^^^^^ SyntaxError: The requested module 'openai' does not provide an export named 'Configuration'}
reinstall "npm install file-saver" it worked for me after then
I am getting the same issue. And I'm also getting it after "npm install file-saver" using this do you have any solution
reinstall "npm install file-saver" it worked for me after then