Spaces:
ginipick
/
Running on Zero

ginipick commited on
Commit
4076ac2
β€’
1 Parent(s): 189dd29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -2
app.py CHANGED
@@ -298,6 +298,8 @@ with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange") as demo:
298
 
299
  with gr.Tabs():
300
  # νŒ¨μ…˜ 생성 νƒ­
 
 
301
  with gr.Tab("Fashion Generation"):
302
  with gr.Column():
303
  mode = gr.Radio(
@@ -305,16 +307,38 @@ with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange") as demo:
305
  label="Generation Mode",
306
  value="Generate Model"
307
  )
308
-
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  prompt = gr.TextArea(
310
  label="Fashion Description (ν•œκΈ€ λ˜λŠ” μ˜μ–΄)",
311
  placeholder="νŒ¨μ…˜ λͺ¨λΈμ΄λ‚˜ 의λ₯˜λ₯Ό μ„€λͺ…ν•˜μ„Έμš”..."
312
  )
313
-
 
 
 
 
 
 
 
314
  with gr.Row():
315
  with gr.Column():
316
  result = gr.Image(label="Generated Result")
317
  generate_button = gr.Button("Generate Fashion")
 
 
318
 
319
  with gr.Accordion("Advanced Options", open=False):
320
  with gr.Group():
 
298
 
299
  with gr.Tabs():
300
  # νŒ¨μ…˜ 생성 νƒ­
301
+
302
+ # νŒ¨μ…˜ 생성 νƒ­
303
  with gr.Tab("Fashion Generation"):
304
  with gr.Column():
305
  mode = gr.Radio(
 
307
  label="Generation Mode",
308
  value="Generate Model"
309
  )
310
+
311
+ # 예제 ν”„λ‘¬ν”„νŠΈ μ„€μ •
312
+ example_model_prompts = [
313
+ "professional fashion model, full body shot, standing pose, natural lighting, studio background, high fashion, elegant pose",
314
+ "fashion model portrait, upper body, confident pose, fashion photography, neutral background, professional lighting",
315
+ "stylish fashion model, three-quarter view, editorial pose, high-end fashion magazine style, minimal background"
316
+ ]
317
+
318
+ example_clothes_prompts = [
319
+ "luxury designer sweater, cashmere material, cream color, cable knit pattern, high-end fashion, product photography",
320
+ "elegant business blazer, tailored fit, charcoal grey, premium wool fabric, professional wear",
321
+ "modern streetwear hoodie, oversized fit, minimalist design, premium cotton, urban style"
322
+ ]
323
+
324
  prompt = gr.TextArea(
325
  label="Fashion Description (ν•œκΈ€ λ˜λŠ” μ˜μ–΄)",
326
  placeholder="νŒ¨μ…˜ λͺ¨λΈμ΄λ‚˜ 의λ₯˜λ₯Ό μ„€λͺ…ν•˜μ„Έμš”..."
327
  )
328
+
329
+ # 예제 μ„Ήμ…˜ μΆ”κ°€
330
+ gr.Examples(
331
+ examples=example_model_prompts + example_clothes_prompts,
332
+ inputs=prompt,
333
+ label="Example Prompts"
334
+ )
335
+
336
  with gr.Row():
337
  with gr.Column():
338
  result = gr.Image(label="Generated Result")
339
  generate_button = gr.Button("Generate Fashion")
340
+
341
+
342
 
343
  with gr.Accordion("Advanced Options", open=False):
344
  with gr.Group():