Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
|