Spaces:
Running on Zero
Running on Zero
Download examples.py from PrunaAI/P-Q-Image-2.1-Remove-Object: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/spaces/PrunaAI/P-Q-Image-2.1-Remove-Object/resolve/main/examples.py
- Command line
-
hf download hf://spaces/PrunaAI/P-Q-Image-2.1-Remove-Object/examples.py
-
curl -L -o examples.py https://huggingface.co/spaces/PrunaAI/P-Q-Image-2.1-Remove-Object/resolve/main/examples.py
1.62 kB
| """The model card's examples: (id, label, instruction). Files: examples/<id>_photo.jpg and | |
| examples/<id>_mask.png (white = the object to remove). Photos from Unsplash, credited on the card.""" | |
| EXAMPLES = [ | |
| ("R1", "Night plaza", "Remove the person with the umbrella walking across the plaza."), | |
| ("R3", "Rainy sidewalk", "Remove the person with the umbrella walking on the sidewalk."), | |
| ("L8", "Lake boathouse", "Remove the boathouse and the red canoes on the shore."), | |
| ("TL", "Tulip field", "Remove the woman in the pink dress."), | |
| ("c9", "Concert phone", "Remove the phone and the raised arm holding it."), | |
| ("Y4", "Cranes", "Remove the three construction cranes."), | |
| ("A8", "Blue tent", "Remove the blue tent."), | |
| ("A3", "Woman on a path", "Remove the woman walking on the path."), | |
| ("W7", "Wheat field", "Remove the person standing in the wheat field."), | |
| ("C3", "Swiss chapel", "Remove the wooden chapel."), | |
| ("H1", "Glen Coe cottage", "Remove the white cottage."), | |
| ("E1", "Ladder, stool, plant", "Remove the wooden ladder, the white stool and the potted plant."), | |
| ("F4", "Phone", "Remove the phone."), | |
| ("f3", "Phone held up", "Remove the phone held up on the right."), | |
| ("c7", "Crowd", "Remove the woman with her hands on her head in the middle of the crowd."), | |
| ("t5", "Light stands", "Remove the two light stands, with the LED light and the boom arm."), | |
| ("t8", "Umbrella lights", "Remove the two umbrella lights on their stands."), | |
| ("t6", "Studio lights", "Remove the studio light in the foreground on the left and the softbox on the right."), | |
| ] | |