Spaces:
Running
on
Zero
Running
on
Zero
rollback : UI
Browse files
__pycache__/live_preview_helpers.cpython-310.pyc
CHANGED
Binary files a/__pycache__/live_preview_helpers.cpython-310.pyc and b/__pycache__/live_preview_helpers.cpython-310.pyc differ
|
|
__pycache__/llm_wrapper.cpython-310.pyc
CHANGED
Binary files a/__pycache__/llm_wrapper.cpython-310.pyc and b/__pycache__/llm_wrapper.cpython-310.pyc differ
|
|
app.py
CHANGED
@@ -71,104 +71,18 @@ css="""
|
|
71 |
margin: 0 auto;
|
72 |
max-width: 580px;
|
73 |
}
|
74 |
-
|
75 |
.footer {
|
76 |
text-align: center;
|
77 |
margin-top: 20px;
|
78 |
font-size: 0.8em;
|
79 |
color: #666;
|
80 |
}
|
81 |
-
|
82 |
-
/* ν¬μ€ν
λ λ μμ μ μ© */
|
83 |
-
button.primary {
|
84 |
-
background-color: rgb(200, 1, 80) !important;
|
85 |
-
border-color: rgb(200, 1, 80) !important;
|
86 |
-
}
|
87 |
-
|
88 |
-
button.primary:hover {
|
89 |
-
background-color: rgba(200, 1, 80, 0.8) !important;
|
90 |
-
border-color: rgb(200, 1, 80) !important;
|
91 |
-
}
|
92 |
-
|
93 |
-
.postech-red {
|
94 |
-
color: rgb(200, 1, 80);
|
95 |
-
}
|
96 |
-
|
97 |
-
.accordion .label-wrap {
|
98 |
-
color: rgb(200, 1, 80) !important;
|
99 |
-
}
|
100 |
-
|
101 |
-
.examples .icon {
|
102 |
-
color: rgb(200, 1, 80) !important;
|
103 |
-
}
|
104 |
-
|
105 |
-
input[type="checkbox"]:checked {
|
106 |
-
background-color: rgb(200, 1, 80) !important;
|
107 |
-
border-color: rgb(200, 1, 80) !important;
|
108 |
-
}
|
109 |
-
|
110 |
-
/* ν둬ννΈ μ
λ ₯ λ°μ€μ μ΄λ―Έμ§ λ°μ€ λ°°κ²½μ λ³κ²½ */
|
111 |
-
.gradio-container .prose input[type="text"],
|
112 |
-
.gradio-container .input-box,
|
113 |
-
.gradio-container .output-box {
|
114 |
-
background-color: rgb(200, 1, 80) !important;
|
115 |
-
border-color: rgb(200, 1, 80) !important;
|
116 |
-
color: white !important;
|
117 |
-
}
|
118 |
-
|
119 |
-
/* νλ μ΄μ€νλ ν
μ€νΈ μμ */
|
120 |
-
.gradio-container input::placeholder {
|
121 |
-
color: rgba(255, 255, 255, 0.7) !important;
|
122 |
-
}
|
123 |
-
|
124 |
-
/* λ μ΄λΈ μμ */
|
125 |
-
label span {
|
126 |
-
color: rgb(200, 1, 80) !important;
|
127 |
-
}
|
128 |
-
|
129 |
-
/* Examples ν€λ μμ */
|
130 |
-
h3, .examples-header {
|
131 |
-
color: rgb(200, 1, 80) !important;
|
132 |
-
}
|
133 |
-
|
134 |
-
/* λ§ν¬ μ€νμΌ λ³κ²½ */
|
135 |
-
a {
|
136 |
-
color: #666 !important;
|
137 |
-
text-decoration: underline !important;
|
138 |
-
transition: color 0.2s;
|
139 |
-
}
|
140 |
-
|
141 |
-
a:hover {
|
142 |
-
color: rgb(200, 1, 80) !important;
|
143 |
-
}
|
144 |
-
|
145 |
-
/* Examples λ²νΌ ν
λ리 μμ */
|
146 |
-
.examples .gr-button {
|
147 |
-
border-color: rgb(200, 1, 80) !important;
|
148 |
-
}
|
149 |
-
|
150 |
-
.examples .gr-button:hover {
|
151 |
-
background-color: rgba(200, 1, 80, 0.1) !important;
|
152 |
-
}
|
153 |
-
|
154 |
-
/* μ¬λΌμ΄λ μμ */
|
155 |
-
input[type="range"]::-webkit-slider-thumb {
|
156 |
-
background: rgb(200, 1, 80) !important;
|
157 |
-
}
|
158 |
-
input[type="range"]::-moz-range-thumb {
|
159 |
-
background: rgb(200, 1, 80) !important;
|
160 |
-
}
|
161 |
-
|
162 |
-
/* Examples ν
μ€νΈ μμ κ°μ μ μ© */
|
163 |
-
.examples-header h3 {
|
164 |
-
color: rgb(200, 1, 80) !important;
|
165 |
-
}
|
166 |
"""
|
167 |
|
168 |
with gr.Blocks(css=css, theme="soft") as demo:
|
169 |
|
170 |
with gr.Column(elem_id="col-container"):
|
171 |
-
gr.Markdown(f"""#
|
172 |
[[based on FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)]
|
173 |
""")
|
174 |
|
@@ -245,8 +159,7 @@ with gr.Blocks(css=css, theme="soft") as demo:
|
|
245 |
value=28,
|
246 |
)
|
247 |
|
248 |
-
|
249 |
-
gr.Markdown("<div class='examples-header'><h3>μμ ν둬ννΈ</h3></div>", elem_classes=["examples-header"])
|
250 |
gr.Examples(
|
251 |
examples = examples,
|
252 |
fn = infer,
|
@@ -257,7 +170,7 @@ with gr.Blocks(css=css, theme="soft") as demo:
|
|
257 |
|
258 |
gr.HTML("""
|
259 |
<div class="footer">
|
260 |
-
PONIX Generator by νμ±μ |
|
261 |
</div>
|
262 |
""")
|
263 |
|
|
|
71 |
margin: 0 auto;
|
72 |
max-width: 580px;
|
73 |
}
|
|
|
74 |
.footer {
|
75 |
text-align: center;
|
76 |
margin-top: 20px;
|
77 |
font-size: 0.8em;
|
78 |
color: #666;
|
79 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
"""
|
81 |
|
82 |
with gr.Blocks(css=css, theme="soft") as demo:
|
83 |
|
84 |
with gr.Column(elem_id="col-container"):
|
85 |
+
gr.Markdown(f"""# π [POSTECH] PONIX Generator
|
86 |
[[based on FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)]
|
87 |
""")
|
88 |
|
|
|
159 |
value=28,
|
160 |
)
|
161 |
|
162 |
+
gr.Markdown("### μμ ν둬ννΈ")
|
|
|
163 |
gr.Examples(
|
164 |
examples = examples,
|
165 |
fn = infer,
|
|
|
170 |
|
171 |
gr.HTML("""
|
172 |
<div class="footer">
|
173 |
+
PONIX Generator by νμ±μ | POSTECH
|
174 |
</div>
|
175 |
""")
|
176 |
|