huzefa11 commited on
Commit
d23381e
·
verified ·
1 Parent(s): 74716dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -42
app.py CHANGED
@@ -725,63 +725,50 @@ with gr.Blocks(css=css) as demo:
725
 
726
  gr.Examples(
727
  examples=[
728
- [0,0.5,0.5,2,"a man, wearing black suit",
729
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
730
- array2string(["at home, read new paper #at home, The newspaper says there is a treasure house in the forest.",
731
- "on the road, near the forest",
732
  "[NC] The car on the road, near the forest #He drives to the forest in search of treasure.",
733
- "[NC]A tiger appeared in the forest, at night ",
734
- "very frightened, open mouth, in the forest, at night",
735
- "running very fast, in the forest, at night",
736
- "[NC] A house in the forest, at night #Suddenly, he discovers the treasure house!",
737
- "in the house filled with treasure, laughing, at night #He is overjoyed inside the house."
738
  ]),
739
- "Comic book","Only Using Textual Description",get_image_path('./ironman.jpeg'),768,768
740
  ],
741
- [0,0.5,0.5,2,"a policeman img, wearing a white shirt",
742
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
743
- array2string(["Directing traffic on the road. ",
744
- "walking on the streets.",
745
- "Chasing a man on the street.",
746
- "At the police station.",
747
  ]),
748
  "Japanese Anime","Using Ref Images",get_image_path('./ironman.jpeg'),768,768
749
  ],
750
- [1,0.5,0.5,3,"a woman img, wearing a white T-shirt, blue loose hair",
751
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
752
- array2string(["wake up in the bed",
753
- "have breakfast",
754
- "is on the road, go to company",
755
- "work in the company",
756
- "Take a walk next to the company at noon",
757
- "lying in bed at night"]),
758
- "Japanese Anime", "Using Ref Images",get_image_path('./yannlecun.png'),768,768
759
  ],
760
- [0,0.5,0.5,3,"a man, wearing black jacket",
761
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
762
- array2string(["wake up in the bed",
763
- "have breakfast",
764
- "is on the road, go to the company, close look",
765
- "work in the company",
766
- "laughing happily",
767
- "lying in bed at night"
768
  ]),
769
- "Japanese Anime","Only Using Textual Description",get_image_path('./ironman.jpeg'),768,768
770
  ],
771
- [0,0.3,0.5,3,"a girl, wearing white shirt, black skirt, black tie, yellow hair",
772
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
773
  array2string([
774
- "at home #at home, began to go to drawing",
775
- "sitting alone on a park bench.",
776
- "reading a book on a park bench.",
777
- "[NC]A squirrel approaches, peeking over the bench. ",
778
- "look around in the park. # She looks around and enjoys the beauty of nature.",
779
- "[NC]leaf falls from the tree, landing on the sketchbook.",
780
- "picks up the leaf, examining its details closely.",
781
- "[NC]The brown squirrel appear.",
782
- "is very happy # She is very happy to see the squirrel again",
783
- "[NC]The brown squirrel takes the cracker and scampers up a tree. # She gives the squirrel cracker"]),
784
- "Japanese Anime","Only Using Textual Description",get_image_path('./taylor.png'),768,768
785
  ]
786
  ],
787
  inputs=[seed_, sa32_, sa64_, id_length_, general_prompt, negative_prompt, prompt_array,style,model_type,files,G_height,G_width],
 
725
 
726
  gr.Examples(
727
  examples=[
728
+ [0,0.5,0.5,2,"a scientist, wearing a lab coat and glasses",
729
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
730
+ array2string(["in the lab, surrounded by bubbling beakers #Today I will discover something new",
731
+ "[NC]He discovers a glowing chemical compound #Wow!!!",
732
  "[NC] The car on the road, near the forest #He drives to the forest in search of treasure.",
733
+ "startled, holding the beaker #The compound explodes with a bright light",
734
+ "[NC]He opens his eyes to find himself in a different world"
 
 
 
735
  ]),
736
+ "Comic book","Only Using Textual Description",get_image_path('./yannlecun.png'),768,768
737
  ],
738
+ [0,0.5,0.5,2,"a cyberpunk hacker, glowing wires, neon glasses",
739
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
740
+ array2string(["[NC]In a dark room filled with monitors #She types rapidly on a neon-lit keyboard",
741
+ "neon city street at night, people walking by",
742
+ "a robot chases her through a back alley",
743
+ "[NC]She jumps onto a rooftop, escaping",
744
  ]),
745
  "Japanese Anime","Using Ref Images",get_image_path('./ironman.jpeg'),768,768
746
  ],
747
+ [1,0.5,0.5,3,"a knight in silver armor with blue cape",
748
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
749
+ array2string(["[NC]On a grassy battlefield #He raises his sword toward the enemy",
750
+ "charging forward on horseback",
751
+ "blocking an arrow with his shield",
752
+ "[NC]He wins the battle and is crowned by the king"]),
753
+ "Japanese Anime", "Using Ref Images",get_image_path('./taylor.png'),768,768
 
 
754
  ],
755
+ [0,0.5,0.5,3,"a girl with pink hair, school uniform",
756
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
757
+ array2string(["at the school gate",
758
+ "[NC]She notices a mysterious envelope in her locker",
759
+ "reading the letter in shock #It's a confession of love",
760
+ "running outside, blushing"
 
 
761
  ]),
762
+ "Japanese Anime","Only Using Textual Description",get_image_path('./yannlecun.png'),768,768
763
  ],
764
+ [0,0.3,0.5,3,"an astronaut in white spacesuit",
765
  "bad anatomy, bad hands, missing fingers, extra fingers, three hands, three legs, bad arms, missing legs, missing arms, poorly drawn face, bad face, fused face, cloned face, three crus, fused feet, fused thigh, extra crus, ugly fingers, horn, cartoon, cg, 3d, unreal, animate, amputation, disconnected limbs",
766
  array2string([
767
+ "floating in space above Earth",
768
+ "[NC]Spots a mysterious alien ship in the distance",
769
+ "enters the ship cautiously",
770
+ "[NC]finds a message written in glowing symbols"]),
771
+ "Japanese Anime","Only Using Textual Description",get_image_path('./ironman.jpeg'),768,768
 
 
 
 
 
 
772
  ]
773
  ],
774
  inputs=[seed_, sa32_, sa64_, id_length_, general_prompt, negative_prompt, prompt_array,style,model_type,files,G_height,G_width],