svjack commited on
Commit
ab1e114
1 Parent(s): cb49209

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -3
app.py CHANGED
@@ -441,14 +441,24 @@ with gr.Blocks(css=".caption-label {display:none}") as demo:
441
  [
442
  ["Pixel-Art-XL", "book_cover_dir/Blank.png", "Confucius", "X read a book"],
443
  ["Pixel-Art-XL", "book_cover_dir/Blank.png", "Superman", "X go to Istanbul"],
444
- ["Pixel-Art-XL", "book_cover_dir/Paint me a picture of the Great Wall of China in t.jpg", "Monk Xuanzang", "X went to the West to obtain Buddhist scriptures"],
445
  ["SD-1.5", "book_cover_dir/zh_ancient_tree.jpg", "Monk Xuanzang", "X went to the West to obtain Buddhist scriptures"],
446
  ["SD-1.5", "book_cover_dir/Blank.png", "Mickey Mouse", "X attends a party"],
447
- ["SD-1.5", "book_cover_dir/an illustration of a city.jpg", "The Eastern Roman Emperor", "X defeats Mongol Invaders"],
448
  ["SD-1.5", "book_cover_dir/River.png", "Napoleon", "X riding a horse"],
449
  ["SD-1.5", "book_cover_dir/seaport.png", "The Pope", "X is being crowned"],
450
  ],
451
- inputs = [current_model, style_reference_input_image, role_name, text_prompt]
 
 
 
 
 
 
 
 
 
 
 
 
452
  )
453
 
454
  demo.launch(show_api=False)
 
441
  [
442
  ["Pixel-Art-XL", "book_cover_dir/Blank.png", "Confucius", "X read a book"],
443
  ["Pixel-Art-XL", "book_cover_dir/Blank.png", "Superman", "X go to Istanbul"],
 
444
  ["SD-1.5", "book_cover_dir/zh_ancient_tree.jpg", "Monk Xuanzang", "X went to the West to obtain Buddhist scriptures"],
445
  ["SD-1.5", "book_cover_dir/Blank.png", "Mickey Mouse", "X attends a party"],
 
446
  ["SD-1.5", "book_cover_dir/River.png", "Napoleon", "X riding a horse"],
447
  ["SD-1.5", "book_cover_dir/seaport.png", "The Pope", "X is being crowned"],
448
  ],
449
+ inputs = [current_model, style_reference_input_image, role_name, text_prompt],
450
+ label = "Example collection 1"
451
+ )
452
+
453
+ gr.Examples(
454
+ [
455
+ ["Disney-Pixar-Cartoon", "book_cover_dir/Blank.png", "Harry Potter", "X defeated Voldemort"],
456
+ ["Disney-Pixar-Cartoon", "book_cover_dir/Blank.png", "Minions", "X join the interstellar war"],
457
+ ["OpenJourney-V4", "book_cover_dir/A tale of two cities.jpg", "Augustus Octavian", "X served as tribune"],
458
+ ["SD-1.5", "book_cover_dir/an illustration of a city.jpg", "The Eastern Roman Emperor", "X defeats Mongol Invaders"],
459
+ ],
460
+ inputs = [current_model, style_reference_input_image, role_name, text_prompt],
461
+ label = "Example collection 2"
462
  )
463
 
464
  demo.launch(show_api=False)