Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import and export prompts, needs more stable against corrupted input data #28

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

GeorgLegato
Copy link
Collaborator

It exports plain json as Download in your browser
then edit this file (some overhead here, like headers etc)
save as new file
Click "Upload a file" and point to your new prompt,

@GeorgLegato
Copy link
Collaborator Author

image
json file created with help of chatGPT ("create array of movies describe in 10 words"-like)


{
    "prompts": {
        "data": [

                [0, "Lightsaber - iconic weapon of the Jedi from Star Wars"],
                [1, "One Ring - powerful artifact from Lord of the Rings"],
                [2, "Hoverboard - levitating skateboard from Back to the Future"],
                [3, "Ecto-1 - modified ambulance used by Ghostbusters"],
                [4, "Batarang - Batman's boomerang-shaped throwing weapon"],
                [5, "DeLorean Time Machine - time-traveling car from Back to the Future"],
                [6, "Invisibility Cloak - magical cloak from Harry Potter series"],
                [7, "The Holy Grail - sought-after artifact in Indiana Jones and the Last Crusade"],
                [8, "Alien Xenomorph - iconic extraterrestrial creature from Alien franchise"],
                [9, "Hermione's Time-Turner - time-traveling device from Harry Potter series"],
                [10, "Mjolnir - Thor's powerful hammer in Marvel Cinematic Universe"],
                [11, "The Tesseract - powerful energy cube in Marvel Cinematic Universe"],
                [12, "Tricorder - multi-functional device used in Star Trek franchise"],
                [13, "Proton Pack - high-tech backpack used by Ghostbusters"],
                [14, "The Ark of the Covenant - ancient artifact in Indiana Jones and the Raiders of the Lost Ark"],
                [15, "The Black Pearl - Captain Jack Sparrow's pirate ship in Pirates of the Caribbean"],
                [16, "Web-shooters - Spider-Man's wrist-mounted gadgets that shoot webs"],
                [17, "The Terminator - humanoid killing machine from The Terminator franchise"],
                [18, "The Grays Sports Almanac - sports almanac from Back to the Future Part II"],
                [19, "Whip - Indiana Jones' iconic weapon used for exploration and combat"]
              


        ],
        "headers": [
            "outpaint steps",
            "prompt"
        ]
    },
    "negPrompt": "frames, borderline, text, character, duplicate, error, out of frame, watermark, low quality, ugly, deformed, blur"
}

@GeorgLegato
Copy link
Collaborator Author

@v8hid if you want to store complete generation info, I think this json file could be a good place.
like adding
{
prompts: ...
negPrompts:...
genInfo: ...
}

@v8hid
Copy link
Owner

v8hid commented Apr 17, 2023

@GeorgLegato good job as always 👍

@v8hid v8hid merged commit a1a15d9 into v8hid:main Apr 17, 2023
@GeorgLegato GeorgLegato deleted the marshall_generationinfo branch April 17, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants