Remade commited on
Commit
9affb79
·
verified ·
1 Parent(s): ff2558e

added new loras

Browse files
Files changed (1) hide show
  1. app.py +109 -4
app.py CHANGED
@@ -73,6 +73,54 @@ loras = [
73
  "title": "Inflate",
74
  "example_prompt": "The large, bald man rides a gray donkey, then infl4t3 inflates it, both the man and the donkey expanding into giant, inflated figures against the desert landscape."
75
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
 
78
 
@@ -80,7 +128,6 @@ loras = [
80
 
81
 
82
 
83
-
84
  ]
85
 
86
  # Initialize Supabase client with async support
@@ -204,7 +251,7 @@ def build_lora_prompt(subject, lora_id):
204
  f"no longer recognizable."
205
  )
206
 
207
- elif lora_id == "3c6fd399-e558-43fa-8cd3-828300aac6f8": # Decay
208
  return (
209
  f"The video shows a {subject}. The d3c4y decay time-lapse begins, causing the {subject} to change. "
210
  f"The {subject} is initially whole, but soon it appears to be rotting. The {subject} slowly becomes "
@@ -214,7 +261,7 @@ def build_lora_prompt(subject, lora_id):
214
 
215
  elif lora_id == "615fe106-fec4-44bb-b28b-2864cb322027": # Jesus
216
  return (
217
- f"The video begins with a {subject} looking at the camera. Then jesus appears behind the {subject} "
218
  f"as h54g hugs jesus. Jesus embraces the {subject}, and they both smile."
219
  )
220
 
@@ -222,6 +269,64 @@ def build_lora_prompt(subject, lora_id):
222
  return (
223
  f"The {subject} infl4t3 inflates, expanding into a giant, inflated figure."
224
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
 
226
  else:
227
  # Fallback to using the example prompt from the LoRA config
@@ -585,7 +690,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft(primary_hue="indigo", neutral_hue="
585
  columns=4,
586
  elem_id="gallery",
587
  show_share_button=False,
588
- height="350px",
589
  object_fit="contain"
590
  )
591
 
 
73
  "title": "Inflate",
74
  "example_prompt": "The large, bald man rides a gray donkey, then infl4t3 inflates it, both the man and the donkey expanding into giant, inflated figures against the desert landscape."
75
  },
76
+ {
77
+ "image": "https://huggingface.co/Remade-AI/Jungle/resolve/main/example_videos/man1_jungle.gif",
78
+ "id": "cf749aeb-5f25-4c6e-b495-3ea8d81004ee",
79
+ "title": "Jungle It",
80
+ "example_prompt": "The video begins with a portrait of a man. The background is blurry, with shades of grey and green. Next, the 1ung13 jungle transformation occurs. The man is now in a jungle setting, bathed in sunlight. His hair is longer, and his hair is up. He is shirtless, with tribal markings on his chest. He wears jungle-like shorts. The man is swinging from a vine, posing in a dynamic, action-oriented manner. A dark panther-like figure is in the background. The scene evokes a sense of adventure and the wild."
81
+ },
82
+ {
83
+ "image": "https://huggingface.co/Remade-AI/Baby/resolve/main/example_videos/goku_baby.gif",
84
+ "id": "5e45b11e-b9ff-404a-9afa-22a3c5596523c",
85
+ "title": "Baby It",
86
+ "example_prompt": "The video starts with a studio portrait of a woman. Then the image shifts to the 848y baby effect, the woman is in front of a crib, surrounded by toys. Finally, the 848y baby effect is shown again in a different location. The 848y baby version of the woman is in the crib and seems excited and amused."
87
+ },
88
+ {
89
+ "image": "https://huggingface.co/Remade-AI/Assassin/resolve/main/example_videos/dog_assassin.gif",
90
+ "id": "88600b53-336a-4d0c-a1a4-8b53e9775f03",
91
+ "title": "Assassin It",
92
+ "example_prompt": "The video starts with a portrait of a dog. Then, the 3p1c epic transformation starts. The dog is wearing a red coat, and the 3p1c epic transformation is complete. The dog is holding a gun in each hand. The dog has white hair and black gloves."
93
+ },
94
+ {
95
+ "image": "https://huggingface.co/Remade-AI/Warrior/resolve/main/example_videos/dog_warrior.gif",
96
+ "id": "4140f3c2-430d-4b47-b40a-997f361d83dc",
97
+ "title": "Warrior It",
98
+ "example_prompt": "The video starts with a woman. The next scene shows her with a mountain range in the background. her shirt is pulled up to his midriff, and she is wearing a skirt-like bottom. The woman has a belt around her waist and is gesturing with her right hand. She is wearing brown, medieval looking leggings. The effect seen is warr10r warrior it. The woman now appears as a warrior with an axe. She is shirtless, muscular, has tattoos, and is smiling with a determined look on her face. The background is the same mountain range as before. The next scene shows the woman still as a warrior, and he is holding an axe with a golden axe head."
99
+ },
100
+ {
101
+ "image": "https://huggingface.co/Remade-AI/Pirate-Captain/resolve/main/example_videos/cat_example.gif.gif",
102
+ "id": "26c4248e-4289-4964-b01b-ace89c7ad407",
103
+ "title": "Pirate It",
104
+ "example_prompt": "The video begins with a man posing. The image then transitions to the p1r4t3 pirate captain transformation. The man is wearing a black pirate hat with a red band around it, a coat and pants, and a pirate style sash. The scene changes, showing the man on a wooden ship. He has long dreadlock style hair and a sword. The scene changes again to show the man with his sword, in the same location on the boat."
105
+ },
106
+ {
107
+ "image": "https://huggingface.co/Remade-AI/Bride/resolve/main/example_videos/rabbit_bride.gif",
108
+ "id": "bd3100fe-65be-416c-994f-bb5acee1404d",
109
+ "title": "Bride It",
110
+ "example_prompt": "The video begins with a portrait of a bunny rabbit, then the 8r1d3 bride effect occurs. The bunny rabbit is now in a white wedding dress, holding a bouquet, with a sunny, warm beige background. "
111
+ },
112
+ {
113
+ "image": "https://huggingface.co/Remade-AI/VIP/resolve/main/example_videos/thanos_vip.gif",
114
+ "id": "fa3355bc-2b7c-42f6-b22e-a6b07937a20c",
115
+ "title": "VIP it",
116
+ "example_prompt": "The video begins with an image of purple Thanos from Marvel. Then the v1p red carpet transformation appears. Purple Thanos is shown wearing a black dress, with gold jewelry around his neck and ears. The image is again of purple Thanos looking straight at the camera against a more lighted gray background. The v1p red carpet transformation continues, purple Thanos is now on the red carpet with photographers taking pictures and other people behind a barricade to the sides. Purple Thanos is wearing the same black dress and jewelry, in focus at the center of the frame."
117
+ },
118
+ {
119
+ "image": "https://huggingface.co/Remade-AI/Zen/resolve/main/example_videos/man_zen.gif",
120
+ "id": "328c6078-515a-4fa0-8b5d-9ea993954f80",
121
+ "title": "Zen It",
122
+ "example_prompt": "The video starts with a portrait of a purple Thanos from Marvel. The scene then transitions to the Thanos' z3n1fy zen transformation as he's wearing a pink robe with a white shirt underneath, with a zen garden background. Thanos is facing the camera with a neutral expression. The background appears to be blurred and out of focus. The scene then transitions again to show the transformed Thanos, in what appears to be a garden setting. He is now wearing a black kimono with white floral designs and a white belt. Thanos carries a basket in one hand and a colorful fan in the other. He is walking down a pathway lined with hedges and greenery. The z3n1fy zen transformation is complete. Thanos has a neutral expression, looking directly at the camera."
123
+ },
124
 
125
 
126
 
 
128
 
129
 
130
 
 
131
  ]
132
 
133
  # Initialize Supabase client with async support
 
251
  f"no longer recognizable."
252
  )
253
 
254
+ elif lora_id == "6b6f64dc-ac14-44b2-b91c-a510cb7f7f32": # Decay
255
  return (
256
  f"The video shows a {subject}. The d3c4y decay time-lapse begins, causing the {subject} to change. "
257
  f"The {subject} is initially whole, but soon it appears to be rotting. The {subject} slowly becomes "
 
261
 
262
  elif lora_id == "615fe106-fec4-44bb-b28b-2864cb322027": # Jesus
263
  return (
264
+ f"The video begins with a {subject}. Then jesus appears behind the {subject} "
265
  f"as h54g hugs jesus. Jesus embraces the {subject}, and they both smile."
266
  )
267
 
 
269
  return (
270
  f"The {subject} infl4t3 inflates, expanding into a giant, inflated figure."
271
  )
272
+
273
+ elif lora_id == "cf749aeb-5f25-4c6e-b495-3ea8d81004ee": # Jungle It
274
+ return (
275
+ f"The video shows a {subject}. The 1ung13 jungle transformation occurs, transporting the {subject} "
276
+ f"to a jungle setting bathed in sunlight. The transformed {subject} appears more wild and primitive, "
277
+ f"with tribal markings, in an action pose. A dark panther-like figure appears in the background."
278
+ )
279
+
280
+ elif lora_id == "5e45b11e-b9ff-404a-9afa-22a3c5596523c": # Baby It
281
+ return (
282
+ f"The video shows a {subject}. The 848y baby effect transforms the {subject}, "
283
+ f"placing them in front of a crib surrounded by toys. The 848y baby version of the {subject} "
284
+ f"appears in the crib, excited and amused."
285
+ )
286
+
287
+ elif lora_id == "88600b53-336a-4d0c-a1a4-8b53e9775f03": # Assassin It
288
+ return (
289
+ f"The video shows a {subject}. The 3p1c epic transformation begins, "
290
+ f"clothing the {subject} in a red coat. The 3p1c epic transformation completes as "
291
+ f"the {subject} appears with white hair, black gloves, holding a gun in each hand."
292
+ )
293
+
294
+ elif lora_id == "4140f3c2-430d-4b47-b40a-997f361d83dc": # Warrior It
295
+ return (
296
+ f"The video shows a {subject}. The warr10r warrior transformation occurs, "
297
+ f"transforming the {subject} into a warrior with an axe. The transformed {subject} appears "
298
+ f"muscular with tattoos, holding a golden-headed axe in a powerful pose against a mountain backdrop."
299
+ )
300
+
301
+ elif lora_id == "26c4248e-4289-4964-b01b-ace89c7ad407": # Pirate It
302
+ return (
303
+ f"The video shows a {subject}. The p1r4t3 pirate captain transformation begins, "
304
+ f"adorning the {subject} with a black pirate hat with red band, coat, pants, and pirate sash. "
305
+ f"The scene transitions to a wooden ship where the transformed {subject} appears with "
306
+ f"long dreadlock style hair, wielding a sword."
307
+ )
308
+
309
+ elif lora_id == "bd3100fe-65be-416c-994f-bb5acee1404d": # Bride It
310
+ return (
311
+ f"The video shows a {subject}. The 8r1d3 bride effect transforms the {subject}, "
312
+ f"placing them in a white wedding dress, holding a bouquet against a sunny, warm background."
313
+ )
314
+
315
+ elif lora_id == "fa3355bc-2b7c-42f6-b22e-a6b07937a20c": # VIP It
316
+ return (
317
+ f"The video shows a {subject}. The v1p red carpet transformation begins, "
318
+ f"clothing the {subject} in a black dress with gold jewelry. The v1p red carpet scene expands, "
319
+ f"placing the {subject} on a red carpet with photographers and crowds behind barricades, "
320
+ f"keeping the {subject} as the elegant focal point."
321
+ )
322
+
323
+ elif lora_id == "328c6078-515a-4fa0-8b5d-9ea993954f80": # Zen It
324
+ return (
325
+ f"The video shows a {subject}. The z3n1fy zen transformation begins, "
326
+ f"dressing the {subject} in a pink robe with white shirt in a zen garden setting. "
327
+ f"The transformation continues as the {subject} appears in a black kimono with white floral designs "
328
+ f"and white belt, carrying a basket and colorful fan, walking along a garden path with hedges."
329
+ )
330
 
331
  else:
332
  # Fallback to using the example prompt from the LoRA config
 
690
  columns=4,
691
  elem_id="gallery",
692
  show_share_button=False,
693
+ height="650px",
694
  object_fit="contain"
695
  )
696