ginipick commited on
Commit
501e52e
ยท
verified ยท
1 Parent(s): 220b51e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -10
app.py CHANGED
@@ -301,18 +301,26 @@ with gr.Blocks(
301
  gallery_html += "</div>"
302
  gr.HTML(gallery_html)
303
 
 
304
 
305
- # Gradio ์ธํ„ฐํŽ˜์ด์Šค์˜ Examples ๋ถ€๋ถ„์„ ์ˆ˜์ •
306
  # Examples ์„น์…˜
307
- gr.Examples(
308
- examples=[[p] for p in example_prompts],
309
- inputs=prompt,
310
- outputs=output,
311
- fn=process_example,
312
- cache_examples=False
313
- )
314
-
315
-
 
 
 
 
 
 
 
 
316
 
317
  def update_seed():
318
  return get_random_seed()
 
301
  gallery_html += "</div>"
302
  gr.HTML(gallery_html)
303
 
304
+ # Gradio ์ธํ„ฐํŽ˜์ด์Šค ๋ถ€๋ถ„์—์„œ Examples ์„น์…˜์„ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์ˆ˜์ •
305
 
 
306
  # Examples ์„น์…˜
307
+ with gr.Row():
308
+ gr.Examples(
309
+ label="Example Prompts",
310
+ examples=[
311
+ "A 3D Star Wars Darth Vader helmet, highly detailed metallic finish",
312
+ "A 3D Iron Man mask with glowing eyes and metallic red-gold finish",
313
+ "A 3D Pokemon Pikachu figure with glossy surface",
314
+ "A 3D geometric abstract cube transforming into a sphere, metallic finish",
315
+ "A 3D steampunk mechanical heart with brass and copper details",
316
+ "A 3D crystal dragon with transparent iridescent scales",
317
+ "A 3D futuristic hovering drone with neon light accents",
318
+ "A 3D ancient Greek warrior helmet with ornate details",
319
+ "A 3D robotic butterfly with mechanical wings and metallic finish",
320
+ "A 3D floating magical crystal orb with internal energy swirls"
321
+ ],
322
+ inputs=prompt
323
+ )
324
 
325
  def update_seed():
326
  return get_random_seed()