minarainbow commited on
Commit
9e3d9a9
·
1 Parent(s): d34c8dd

fix duplicated description

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def load_example(prompt, img0):
27
  table1 = pd.DataFrame({'Comparison': ["All four images depict a young couple walking on a sunny beach. They differ in the type of medium, lighting, shot types, and colors used. The first three images mainly use blue and white, while the fourth image has a black and white theme. The couple is holding hands in image 2, while in image 1 and 3, they are not. The images have different intended uses, ranging from a website or album cover to a poster for promoting beach trips."], 'Image1': ["This is a digital painting of a man and woman walking on a sunny beach. The vector art shows a white sand beach with blue water, and natural lighting with shadows. The man is shirtless while the woman wears a hat. They walk on dry sand, towards the camera. The background is empty, and there are no waves or ocean visible."], 'Image2': ["This is a cartoon poster of a couple holding hands while walking on a beach at sunset. The sunlight and natural lighting create an orange spotlight. The landscape shot showcases the blue sky and choppy water. They both wear hats, and the background is not white. This cheerful image can be used in a poster to promote a trip to the beach."], 'Image3': ["This photo shows a young couple walking on a sunny beach. The shot is centered and exhibits natural sunlight, shadows, and lighting. The surroundings are clear but not as to whether the background is white or not. The couple are likely in their 20s to 30s, wearing hats, and walking far out into the water, seemingly happy. No other people, umbrellas, or belongings are seen on the empty beach."], 'Image4': ["This is an album cover showing a young couple walking on a sunny beach. They walk hand in hand on the dry sand, away from small waves in the background. The image is black and white and shows natural, backlight, and soft lighting. The couple doesn't wear any accessories, and no one else seems to be around."]})
28
  return [*splitted_images, table1]
29
  if prompt == "Black female, hair stylist, designing her room":
30
- table1 = pd.DataFrame({'Comparison': ["All images feature a black woman with long hair in a positive and happy mood. Image 1 shows a hair stylist in an empty hair salon, while Image 2 features a woman getting her hair styled in a mirror with black and white lighting. Image 3 shows a woman in a beauty salon wearing an orange dress, and Image 4 is a digital illustration of a woman in her room with a plant, wearing a hoodie, and looking into a mirror hanging on a wall."], 'Image1': ["This is a digital painting of a man and woman walking on a sunny beach. The vector art shows a white sand beach with blue water, and natural lighting with shadows. The man is shirtless while the woman wears a hat. They walk on dry sand, towards the camera. The background is empty, and there are no waves or ocean visible."], 'Image2': ["This is a cartoon poster of a couple holding hands while walking on a beach at sunset. The sunlight and natural lighting create an orange spotlight. The landscape shot showcases the blue sky and choppy water. They both wear hats, and the background is not white. This cheerful image can be used in a poster to promote a trip to the beach."], 'Image3': ["This photo shows a young couple walking on a sunny beach. The shot is centered and exhibits natural sunlight, shadows, and lighting. The surroundings are clear but not as to whether the background is white or not. The couple are likely in their 20s to 30s, wearing hats, and walking far out into the water, seemingly happy. No other people, umbrellas, or belongings are seen on the empty beach."], 'Image4': ["This is an album cover showing a young couple walking on a sunny beach. They walk hand in hand on the dry sand, away from small waves in the background. The image is black and white and shows natural, backlight, and soft lighting. The couple doesn't wear any accessories, and no one else seems to be around."]})
31
  return [*splitted_images, table1]
32
  if prompt == "Use plastic that is durable rather than the one that breaks soon.":
33
  table1 = pd.DataFrame({'Comparison': ["All images contain plastic objects and are brightly colored. Differences: Image 1 contains various containers and utensils on a blue background in a close-up shot, while Image 2 portrays a pile of cups and straws in a dark room. Image 3 is a chart of plastic utensils with blue and green colors on a wooden table, and Image 4 features four plastic bowls and utensils on a kitchen counter in non-logical placement. Emotions in the images range from negative to happy."], 'Image1': ["In this still life stock photo, 4 clear and blue plastic containers and utensils are shown on a blue background. The containers are small and transparent, without any lids. The utensils are large and made of the same smooth material as the containers. There is no writing or branding visible on the containers or utensils. The image is negative in emotion and likely used in restaurants or cafeterias."], 'Image2': ["This still life image showcases a pile of plastic cups and straws. The brightly colored blue and orange cups stand out against a black background. The cups and straws are in focus, arranged without any pattern. The setting is a dark room. Though the cups and straws are clean, the image is negative in emotion as it highlights the abundance of single-use plastic. The small-sized cups and straws are recyclable. This image would likely be used on a website for a plastics company."], 'Image3': ["A haphazard arrangement of blue and green plastic utensils and plates lie on a smooth wooden table. The plates appear empty and there are no other objects on the table. The plastic utensils are small and disposable. The setting is likely indoors, possibly at a restaurant. No patterns or decorations are visible."], 'Image4': ["A bright still life image of four plastic bowls and two forks on a kitchen counter. The bowls are green, blue, yellow, and orange, and all the same size. The forks are on the table beside the bowls, a few centimeters apart. There are no other utensils, decorations, or food on the table. This happy image could be used in a restaurant or cafeteria."]})
 
27
  table1 = pd.DataFrame({'Comparison': ["All four images depict a young couple walking on a sunny beach. They differ in the type of medium, lighting, shot types, and colors used. The first three images mainly use blue and white, while the fourth image has a black and white theme. The couple is holding hands in image 2, while in image 1 and 3, they are not. The images have different intended uses, ranging from a website or album cover to a poster for promoting beach trips."], 'Image1': ["This is a digital painting of a man and woman walking on a sunny beach. The vector art shows a white sand beach with blue water, and natural lighting with shadows. The man is shirtless while the woman wears a hat. They walk on dry sand, towards the camera. The background is empty, and there are no waves or ocean visible."], 'Image2': ["This is a cartoon poster of a couple holding hands while walking on a beach at sunset. The sunlight and natural lighting create an orange spotlight. The landscape shot showcases the blue sky and choppy water. They both wear hats, and the background is not white. This cheerful image can be used in a poster to promote a trip to the beach."], 'Image3': ["This photo shows a young couple walking on a sunny beach. The shot is centered and exhibits natural sunlight, shadows, and lighting. The surroundings are clear but not as to whether the background is white or not. The couple are likely in their 20s to 30s, wearing hats, and walking far out into the water, seemingly happy. No other people, umbrellas, or belongings are seen on the empty beach."], 'Image4': ["This is an album cover showing a young couple walking on a sunny beach. They walk hand in hand on the dry sand, away from small waves in the background. The image is black and white and shows natural, backlight, and soft lighting. The couple doesn't wear any accessories, and no one else seems to be around."]})
28
  return [*splitted_images, table1]
29
  if prompt == "Black female, hair stylist, designing her room":
30
+ table1 = pd.DataFrame({'Comparison': ["All images feature a black woman with long hair in a positive and happy mood. Image 1 shows a hair stylist in an empty hair salon, while Image 2 features a woman getting her hair styled in a mirror with black and white lighting. Image 3 shows a woman in a beauty salon wearing an orange dress, and Image 4 is a digital illustration of a woman in her room with a plant, wearing a hoodie, and looking into a mirror hanging on a wall."], 'Image1': ["In this headshot photo taken with natural lighting, we see an African American woman standing in a hair salon. She wears a black shirt and has dreadlocks. There are hair products nearby but the salon is empty. The woman faces the camera, and the atmosphere seems calm and relaxing with blue and white colors dominating the background. This image could likely be found in a hair salon."], 'Image2': ["In this airbrush painting, a happy black woman with long, dark brown hair is sitting in front of a wall-mounted mirror. She is styling her hair with a curling iron while combing or brushing it. There is no hair wrap or towel on her head. Only soft and dim natural lighting is present in the room. The woman is alone and facing the mirror. The image is centered on her headshot, and the main colors used are black and white. This image would likely be used in a magazine."], 'Image3': ["This photo features a happy woman sitting on a chair with a backrest in front of a mirror in a well-lit room. She is wearing an orange dress and has long, dark brown hair. There are no decorations on the mirror, and the woman is not wearing any jewelry. The main colors used in the image are orange, black, and white. It seems like the image could be used in a beauty salon since the woman is a hairstylist."], 'Image4': ["This is a digital painting of a happy black woman sitting in her room with natural lighting. She is wearing a hoodie and looking into a mirror hanging on the wall. Her black hair color can be seen. The mirror has nothing on it. In the background, there is a window. The main colors used in the image are pink, blue, green and orange. The woman has a serious look on her face, and it is early morning in the room. There is a plant in the room with her. This image may likely be used on a website."]})
31
  return [*splitted_images, table1]
32
  if prompt == "Use plastic that is durable rather than the one that breaks soon.":
33
  table1 = pd.DataFrame({'Comparison': ["All images contain plastic objects and are brightly colored. Differences: Image 1 contains various containers and utensils on a blue background in a close-up shot, while Image 2 portrays a pile of cups and straws in a dark room. Image 3 is a chart of plastic utensils with blue and green colors on a wooden table, and Image 4 features four plastic bowls and utensils on a kitchen counter in non-logical placement. Emotions in the images range from negative to happy."], 'Image1': ["In this still life stock photo, 4 clear and blue plastic containers and utensils are shown on a blue background. The containers are small and transparent, without any lids. The utensils are large and made of the same smooth material as the containers. There is no writing or branding visible on the containers or utensils. The image is negative in emotion and likely used in restaurants or cafeterias."], 'Image2': ["This still life image showcases a pile of plastic cups and straws. The brightly colored blue and orange cups stand out against a black background. The cups and straws are in focus, arranged without any pattern. The setting is a dark room. Though the cups and straws are clean, the image is negative in emotion as it highlights the abundance of single-use plastic. The small-sized cups and straws are recyclable. This image would likely be used on a website for a plastics company."], 'Image3': ["A haphazard arrangement of blue and green plastic utensils and plates lie on a smooth wooden table. The plates appear empty and there are no other objects on the table. The plastic utensils are small and disposable. The setting is likely indoors, possibly at a restaurant. No patterns or decorations are visible."], 'Image4': ["A bright still life image of four plastic bowls and two forks on a kitchen counter. The bowls are green, blue, yellow, and orange, and all the same size. The forks are on the table beside the bowls, a few centimeters apart. There are no other utensils, decorations, or food on the table. This happy image could be used in a restaurant or cafeteria."]})