jpjp9292 commited on
Commit
de56c84
Β·
verified Β·
1 Parent(s): ce40f75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -38,17 +38,17 @@ def infer(prompt, negative_prompt, seed, randomize_seed, width, height, guidance
38
 
39
  examples = [
40
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
41
- "An astronaut riding a green horse",
42
- "A delicious ceviche cheesecake slice",
43
  "정글에 μžˆλŠ” 우주 비행사, μ°¨κ°€μš΄ 색 νŒ”λ ˆνŠΈ, muted 색상, μƒμ„Έν•œ, 8k",
44
- "녹색 말을 타고 μžˆλŠ” 우주 비행사",
45
- "λ§›μžˆλŠ” 세비체 μΉ˜μ¦ˆμΌ€μ΄ν¬ 쑰각",
46
  ]
47
 
48
  css = """
49
  #col-container {
50
  margin: 0 auto;
51
- max-width: 520px;
52
  }
53
  """
54
 
@@ -61,8 +61,8 @@ with gr.Blocks(css=css) as demo:
61
 
62
  with gr.Column(elem_id="col-container"):
63
  gr.Markdown(f"""
64
- # Text-to-Image Gradio Template
65
- # ν…μŠ€νŠΈ-이미지 생성기 Gradio ν…œν”Œλ¦Ώ
66
  Currently running on {power_device}.
67
  ν˜„μž¬ {power_device}μ—μ„œ μ‹€ν–‰ μ€‘μž…λ‹ˆλ‹€.
68
  """)
@@ -72,7 +72,7 @@ with gr.Blocks(css=css) as demo:
72
  label="Prompt / ν”„λ‘¬ν”„νŠΈ",
73
  show_label=False,
74
  max_lines=1,
75
- placeholder="Enter your prompt / ν”„λ‘¬ν”„νŠΈλ₯Ό μž…λ ₯ν•˜μ„Έμš”",
76
  container=False,
77
  )
78
 
 
38
 
39
  examples = [
40
  "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
41
+ "A playful Australian Shepherd dog running around in Central Park",
42
+ "A tempting slice of Basque cheesecake",
43
  "정글에 μžˆλŠ” 우주 비행사, μ°¨κ°€μš΄ 색 νŒ”λ ˆνŠΈ, muted 색상, μƒμ„Έν•œ, 8k",
44
+ "μ„ΌνŠΈλŸ΄νŒŒν¬μ—μ„œ λ›°μ–΄ 놀고 μžˆλŠ” μ˜€μŠ€νŠΈλ ˆμΌλ¦¬μ–Έ μ…°νΌλ“œ κ°•μ•„μ§€ ",
45
+ "λ§›μžˆλŠ” λ°”μŠ€ν¬ μΉ˜μ¦ˆμΌ€μ΄ν¬ 쑰각",
46
  ]
47
 
48
  css = """
49
  #col-container {
50
  margin: 0 auto;
51
+ max-width: 1024px;
52
  }
53
  """
54
 
 
61
 
62
  with gr.Column(elem_id="col-container"):
63
  gr.Markdown(f"""
64
+ # Text-to-Image Generation
65
+ # ν…μŠ€νŠΈ-이미지 생성기
66
  Currently running on {power_device}.
67
  ν˜„μž¬ {power_device}μ—μ„œ μ‹€ν–‰ μ€‘μž…λ‹ˆλ‹€.
68
  """)
 
72
  label="Prompt / ν”„λ‘¬ν”„νŠΈ",
73
  show_label=False,
74
  max_lines=1,
75
+ placeholder="Enter your prompt / ν”„λ‘¬ν”„νŠΈλ₯Ό μž…λ ₯ν•˜μ„Έμš” (μ˜μ–΄κ°€ λ”μš± μ •ν™•ν•©λ‹ˆλ‹€.)",
76
  container=False,
77
  )
78