Commit ·
1eb73db
1
Parent(s): 5c2c850
app.py
CHANGED
|
@@ -88,23 +88,6 @@ with gr.Blocks() as demo:
|
|
| 88 |
overflow: hidden;
|
| 89 |
}
|
| 90 |
|
| 91 |
-
/* 줄바꿈 방지 및 컬럼 최소 너비 설정 */
|
| 92 |
-
.gradio-container .gr-row {
|
| 93 |
-
flex-wrap: nowrap !important;
|
| 94 |
-
overflow-x: auto;
|
| 95 |
-
}
|
| 96 |
-
|
| 97 |
-
.gradio-container .gr-col {
|
| 98 |
-
min-width: 220px;
|
| 99 |
-
flex: 1;
|
| 100 |
-
}
|
| 101 |
-
.q1-radio-large .gr-radio label {
|
| 102 |
-
font-size: 20px;
|
| 103 |
-
line-height: 1.8;
|
| 104 |
-
margin-bottom: 6px;
|
| 105 |
-
padding: 10px;
|
| 106 |
-
display: block;
|
| 107 |
-
}
|
| 108 |
</style>''')
|
| 109 |
with gr.Tabs():
|
| 110 |
with gr.Tab(" Question 1"):
|
|
@@ -198,7 +181,6 @@ with gr.Blocks() as demo:
|
|
| 198 |
label="",
|
| 199 |
info="Consider which explanation helped you understand the model's decision better.",
|
| 200 |
show_label=False,
|
| 201 |
-
elem_classes=["q1-radio-large"]
|
| 202 |
)
|
| 203 |
# q1_choice= func.convert_q1_choice(q1_choice)
|
| 204 |
q1_feedback = gr.Textbox(placeholder="e.g., Explanation A was clearer")
|
|
|
|
| 88 |
overflow: hidden;
|
| 89 |
}
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
</style>''')
|
| 92 |
with gr.Tabs():
|
| 93 |
with gr.Tab(" Question 1"):
|
|
|
|
| 181 |
label="",
|
| 182 |
info="Consider which explanation helped you understand the model's decision better.",
|
| 183 |
show_label=False,
|
|
|
|
| 184 |
)
|
| 185 |
# q1_choice= func.convert_q1_choice(q1_choice)
|
| 186 |
q1_feedback = gr.Textbox(placeholder="e.g., Explanation A was clearer")
|