Spaces:
Sleeping
Sleeping
Youngsun Lim
commited on
Commit
·
269442c
1
Parent(s):
1d2b9d0
1014
Browse files
app.py
CHANGED
|
@@ -180,6 +180,17 @@ GLOBAL_CSS = """
|
|
| 180 |
|
| 181 |
/* 바깥쪽 페이지 배경도 강제로 투명/흰색으로 */
|
| 182 |
html, body, .gradio-container { background: transparent !important; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
"""
|
| 184 |
|
| 185 |
# -------------------- UI --------------------
|
|
@@ -225,7 +236,7 @@ with gr.Blocks(fill_height=True, css=GLOBAL_CSS) as demo:
|
|
| 225 |
|
| 226 |
|
| 227 |
# ------------------ PAGE 2: Evaluation ------------------
|
| 228 |
-
page_eval = gr.Group(visible=False,
|
| 229 |
with page_eval:
|
| 230 |
# PID 입력
|
| 231 |
with gr.Row():
|
|
|
|
| 180 |
|
| 181 |
/* 바깥쪽 페이지 배경도 강제로 투명/흰색으로 */
|
| 182 |
html, body, .gradio-container { background: transparent !important; }
|
| 183 |
+
|
| 184 |
+
/* 기존 CSS 아래에 추가 */
|
| 185 |
+
#eval [class*="bg-"],
|
| 186 |
+
#eval [class*="border"],
|
| 187 |
+
#eval [class*="shadow"],
|
| 188 |
+
#eval .gr-panel, #eval .gr-group, #eval .gr-box, #eval .gr-row, #eval .gr-column,
|
| 189 |
+
#eval .gr-block, #eval .gr-form, #eval .gr-section-header, #eval .gr-accordion {
|
| 190 |
+
background: transparent !important;
|
| 191 |
+
border-color: transparent !important;
|
| 192 |
+
box-shadow: none !important;
|
| 193 |
+
}
|
| 194 |
"""
|
| 195 |
|
| 196 |
# -------------------- UI --------------------
|
|
|
|
| 236 |
|
| 237 |
|
| 238 |
# ------------------ PAGE 2: Evaluation ------------------
|
| 239 |
+
page_eval = gr.Group(visible=False, elem_id="eval")
|
| 240 |
with page_eval:
|
| 241 |
# PID 입력
|
| 242 |
with gr.Row():
|