ginipick commited on
Commit
f40f6b2
ยท
verified ยท
1 Parent(s): 6293da2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -11
app.py CHANGED
@@ -34,16 +34,16 @@ pipe = setup_model()
34
 
35
  # ๋ฉ”๋‰ด ๋ ˆ์ด๋ธ”
36
  labels = {
37
- "Generated Image": "์ƒ์„ฑ๋œ ์ด๋ฏธ์ง€",
38
- "Prompt": "ํ”„๋กฌํ”„ํŠธ",
39
- "Enhance Image": "์ด๋ฏธ์ง€ ํ–ฅ์ƒ",
40
- "Advanced Options": "๊ณ ๊ธ‰ ์„ค์ •",
41
- "Seed": "์‹œ๋“œ",
42
- "Randomize Seed": "๋žœ๋ค ์‹œ๋“œ",
43
- "Width": "๋„ˆ๋น„",
44
- "Height": "๋†’์ด",
45
- "Inference Steps": "์ถ”๋ก  ๋‹จ๊ณ„",
46
- "Inspiration Gallery": "์˜๊ฐ ๊ฐค๋Ÿฌ๋ฆฌ"
47
  }
48
 
49
  # ์ด๋ฏธ์ง€ ์ƒ์„ฑ ํ•จ์ˆ˜
@@ -102,7 +102,6 @@ def generate_example_image(prompt):
102
 
103
  # Example prompts
104
  examples = [
105
- "๋น„๋„ˆ ์Šˆ๋‹ˆ์ฒผ์˜ ์• ๋‹ˆ๋ฉ”์ด์…˜ ์ผ๋Ÿฌ์ŠคํŠธ๋ ˆ์ด์…˜",
106
  "A steampunk owl wearing Victorian-era clothing and reading a mechanical book",
107
  "A floating island made of books with waterfalls of knowledge cascading down",
108
  "A bioluminescent forest where mushrooms glow like neon signs in a cyberpunk city",
@@ -174,6 +173,21 @@ def create_snow_effect():
174
 
175
  # Gradio UI ๊ตฌ์„ฑ
176
  with gr.Blocks(theme="soft", css=css) as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177
 
178
  create_snow_effect()
179
 
 
34
 
35
  # ๋ฉ”๋‰ด ๋ ˆ์ด๋ธ”
36
  labels = {
37
+ "Generated Image": "Generated Image",
38
+ "Prompt": "Prompt",
39
+ "Enhance Image": "Enhance Image",
40
+ "Advanced Options": "Advanced Options",
41
+ "Seed": "Seed",
42
+ "Randomize Seed": "Randomize Seed",
43
+ "Width": "Width",
44
+ "Height": "Height",
45
+ "Inference Steps": "Inference Steps",
46
+ "Inspiration Gallery": "Inspiration Gallery"
47
  }
48
 
49
  # ์ด๋ฏธ์ง€ ์ƒ์„ฑ ํ•จ์ˆ˜
 
102
 
103
  # Example prompts
104
  examples = [
 
105
  "A steampunk owl wearing Victorian-era clothing and reading a mechanical book",
106
  "A floating island made of books with waterfalls of knowledge cascading down",
107
  "A bioluminescent forest where mushrooms glow like neon signs in a cyberpunk city",
 
173
 
174
  # Gradio UI ๊ตฌ์„ฑ
175
  with gr.Blocks(theme="soft", css=css) as demo:
176
+
177
+ gr.HTML(
178
+ """
179
+ <div class='container' style='display:flex; justify-content:center; gap:12px;'>
180
+ <a href="https://huggingface.co/spaces/openfree/Best-AI" target="_blank">
181
+ <img src="https://img.shields.io/static/v1?label=OpenFree&message=BEST%20AI%20Services&color=%230000ff&labelColor=%23000080&logo=huggingface&logoColor=%23ffa500&style=for-the-badge" alt="OpenFree badge">
182
+ </a>
183
+
184
+ <a href="https://discord.gg/openfreeai" target="_blank">
185
+ <img src="https://img.shields.io/static/v1?label=Discord&message=Openfree%20AI&color=%230000ff&labelColor=%23800080&logo=discord&logoColor=white&style=for-the-badge" alt="Discord badge">
186
+ </a>
187
+ </div>
188
+ """
189
+ )
190
+
191
 
192
  create_snow_effect()
193