cwhuh commited on
Commit
01b8d54
Β·
1 Parent(s): d1ddaf9

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"""# πŸ” <span class="postech-red">[POSTECH]</span> PONIX Generator
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
- # Examples 헀더에 클래슀 μΆ”κ°€
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 ν—ˆμ±„μ› | UG @ POSTECH
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