RaphaelLiu commited on
Commit
b66c8f8
1 Parent(s): 5f274b4

Update content

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
app.py CHANGED
@@ -11,7 +11,6 @@ body, html {
11
  width: 100%;
12
  }
13
 
14
-
15
  .gallery-container {
16
  display: flex;
17
  flex-direction: column;
@@ -43,7 +42,6 @@ body, html {
43
  }
44
 
45
  .video-caption {
46
- color: #121212; /* Maintain white text for captions */
47
  padding: 0.5rem;
48
  border-radius: 4px;
49
  margin-top: 0.5rem;
@@ -229,7 +227,6 @@ def showcase(page_num):
229
 
230
  description_html = """
231
  <div style="text-align: center; margin-bottom: 20px;">
232
- <h2>EvalCrafter Text-to-Video (ECTV) Gallery 🎥📊</h2>
233
  <p>
234
  <a href="https://huggingface.co/datasets/RaphaelLiu/EvalCrafter_T2V_Dataset">Dataset</a> ·
235
  <a href="https://github.com/EvalCrafter/EvalCrafter">Code</a> ·
@@ -241,6 +238,7 @@ description_html = """
241
  <!-- Add more details and acknowledgements as needed -->
242
  </div>
243
  """
 
244
 
245
 
246
  # def navigate(direction, page_num):
@@ -281,6 +279,7 @@ videos_per_page = 1
281
  total_pages = (total_videos + videos_per_page - 1) // videos_per_page
282
 
283
  with gr.Blocks(css=css) as app:
 
284
  gr.Markdown(description_html)
285
  gr.Markdown(js)
286
  page_num = gr.State(value=1)
@@ -318,4 +317,5 @@ with gr.Blocks(css=css) as app:
318
  # Initialize the display for the first page
319
  content = showcase(page_num.value)
320
 
321
- app.launch(share=True)
 
 
11
  width: 100%;
12
  }
13
 
 
14
  .gallery-container {
15
  display: flex;
16
  flex-direction: column;
 
42
  }
43
 
44
  .video-caption {
 
45
  padding: 0.5rem;
46
  border-radius: 4px;
47
  margin-top: 0.5rem;
 
227
 
228
  description_html = """
229
  <div style="text-align: center; margin-bottom: 20px;">
 
230
  <p>
231
  <a href="https://huggingface.co/datasets/RaphaelLiu/EvalCrafter_T2V_Dataset">Dataset</a> ·
232
  <a href="https://github.com/EvalCrafter/EvalCrafter">Code</a> ·
 
238
  <!-- Add more details and acknowledgements as needed -->
239
  </div>
240
  """
241
+ TITLE = """<h1 align="center" id="space-title">EvalCrafter Text-to-Video (ECTV) Gallery 🎥📊</h1>"""
242
 
243
 
244
  # def navigate(direction, page_num):
 
279
  total_pages = (total_videos + videos_per_page - 1) // videos_per_page
280
 
281
  with gr.Blocks(css=css) as app:
282
+ gr.HTML(TITLE)
283
  gr.Markdown(description_html)
284
  gr.Markdown(js)
285
  page_num = gr.State(value=1)
 
317
  # Initialize the display for the first page
318
  content = showcase(page_num.value)
319
 
320
+ # app.launch(share=True)
321
+ app.launch()
prompts/0000.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 2 Dog and a whale, ocean adventure
prompts/0001.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Teddy bear and 3 real bear
prompts/0002.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ goldfish in glass
prompts/0003.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A small bird sits atop a blooming flower stem.
prompts/0004.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A fluffy teddy bear sits on a bed of soft pillows surrounded by children's toys.
prompts/0005.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A peaceful cow grazing in a green field under the clear blue sky
prompts/0006.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ unicorn sliding on a rainbow
prompts/0007.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ four godzillas
prompts/0008.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A fluffy grey and white cat is lazily stretched out on a sunny window sill, enjoying a nap after a long day of lounging.
prompts/0009.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A curious cat peers from the window, watching the world outside.
prompts/0010.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a horse
prompts/0011.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a pig
prompts/0012.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a squirrel
prompts/0013.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a bird
prompts/0014.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a zebra
prompts/0015.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Two elephants are playing on the beach and enjoying a delicious beef stroganoff meal.
prompts/0016.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Two fish eating spaghetti on a subway
prompts/0017.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A pod of dolphins gracefully swim and jump in the ocean.
prompts/0018.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A peaceful cow grazing in a green field under the clear blue sky
prompts/0019.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A cute and chubby giant panda is enjoying a bamboo meal in a lush forest. The panda is relaxed and content as it eats, and occasionally stops to scratch its ear with its paw.
prompts/0020.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ dragon flying over the city at night
prompts/0021.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Pikachu snowboarding
prompts/0022.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a cat drinking beer
prompts/0023.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a dog wearing vr goggles on a boat
prompts/0024.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ a giraffe eating an apple
prompts/0025.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Five camels walking in the desert
prompts/0026.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Mickey Mouse is dancing on white background
prompts/0027.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A happy pig rolling in the mud on a sunny day.
prompts/0028.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ In an African savanna, a majestic lion is prancing behind a small timid rabbit. The rabbit tried to run away, but the lion catches up easily.
prompts/0029.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 3 sheep enjoying spaghetti together
prompts/0030.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A photo of a Corgi dog riding a bike in Times Square. It is wearing sunglasses and a beach hat.
prompts/0031.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A pod of dolphins gracefully swim and jump in the ocean.
prompts/0032.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ In the lush forest, a tiger is wandering around with a vigilant gaze while the birds chirp and monkeys play.
prompts/0033.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ The teddy bear and rabbit were snuggled up together. The teddy bear was hugging the rabbit, and the rabbit was nuzzled up to the teddy bear's soft fur.
prompts/0034.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A slithering snake moves through the lush green grass
prompts/0035.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A pair of bright green tree frogs cling to a branch in a vibrant tropical rainforest.
prompts/0036.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Four fluffy white Persian kittens snuggle together in a cozy basket by the fireplace.
prompts/0037.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Eight fluffy yellow ducklings waddle behind their mother, exploring the edge of a pond.
prompts/0038.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A family of four fluffy, blue penguins waddled along the icy shore.
prompts/0039.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Two white swans gracefully swam in the serene lake
prompts/0040.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ In a small forest, a colorful bird was flying around gracefully. Its shiny feathers reflected the sun rays, creating a beautiful sight.
prompts/0041.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A spider spins a web, weaving intricate patterns with its silk.
prompts/0042.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A horse gallops through a field, kicking up dust with its hooves.
prompts/0043.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A dog chews on a bone, gnawing at it with its teeth.
prompts/0044.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A cat plays with a ball of yarn, batting it around with its paws.
prompts/0045.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A bear rummages through a dumpster, searching for food scraps.
prompts/0046.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Three hamster runs on a wheel, exercising in its cage.
prompts/0047.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Five dogs on the street.
prompts/0048.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A fish eating a pelican.