arxivgpt kim commited on
Commit
4c1e6a6
·
verified ·
1 Parent(s): 3bb2ce5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -178,9 +178,9 @@ button:hover {
178
  text-align: center; /* 텍스트를 가운데 정렬 */
179
 
180
  }
181
- /* 결과 출력 컴포넌트의 글자 크기 2배로 조정 */
182
  .output {
183
- font-size: 200%; /* 기본 글자 크기의 2배 */
184
  }
185
 
186
  /* 탭 클릭 시 눌린 탭에 적용될 스타일 */
@@ -205,42 +205,42 @@ with gr.Blocks(css=css) as demo:
205
  contact_phone = gr.Textbox(label="연락처")
206
  contact_email = gr.Textbox(label="이메일 주소")
207
 
208
- with gr.Tab("1단계 체크리스트"):
209
  answer1 = gr.Radio(choices=options[0], label=questions[0])
210
  answer2 = gr.Radio(choices=options[1], label=questions[1])
211
  answer3 = gr.Radio(choices=options[2], label=questions[2])
212
  answer4 = gr.Radio(choices=options[3], label=questions[3])
213
- with gr.Tab("2단계 체크리스트"):
214
  answer5 = gr.Radio(choices=options[4], label=questions[4])
215
  answer6 = gr.Radio(choices=options[5], label=questions[5])
216
  answer7 = gr.Radio(choices=options[6], label=questions[6])
217
  answer8 = gr.Radio(choices=options[7], label=questions[7])
218
- with gr.Tab("3단계 체크리스트"):
219
  answer9 = gr.Radio(choices=options[8], label=questions[8])
220
  answer10 = gr.Radio(choices=options[9], label=questions[9])
221
  answer11 = gr.Radio(choices=options[10], label=questions[10])
222
  answer12 = gr.Radio(choices=options[11], label=questions[11])
223
- with gr.Tab("4단계 체크리스트"):
224
  answer13 = gr.Radio(choices=options[12], label=questions[12])
225
  answer14 = gr.Radio(choices=options[13], label=questions[13])
226
  answer15 = gr.Radio(choices=options[14], label=questions[14])
227
  answer16 = gr.Radio(choices=options[15], label=questions[15])
228
- with gr.Tab("5단계 체크리스트"):
229
  answer17 = gr.Radio(choices=options[16], label=questions[16])
230
  answer18 = gr.Radio(choices=options[17], label=questions[17])
231
  answer19 = gr.Radio(choices=options[18], label=questions[18])
232
  answer20 = gr.Radio(choices=options[19], label=questions[19])
233
- with gr.Tab("6단계 체크리스트"):
234
  answer21 = gr.Radio(choices=options[20], label=questions[20])
235
  answer22 = gr.Radio(choices=options[21], label=questions[21])
236
  answer23 = gr.Radio(choices=options[22], label=questions[22])
237
  answer24 = gr.Radio(choices=options[23], label=questions[23])
238
- with gr.Tab("7단계 체크리스트"):
239
  answer25 = gr.Radio(choices=options[24], label=questions[24])
240
  answer26 = gr.Radio(choices=options[25], label=questions[25])
241
  answer27 = gr.Radio(choices=options[26], label=questions[26])
242
  answer28 = gr.Radio(choices=options[27], label=questions[27])
243
- with gr.Tab("최종 단계 체크리스트"):
244
  answer29 = gr.Radio(choices=options[28], label=questions[28])
245
  answer30 = gr.Radio(choices=options[29], label=questions[29])
246
  answer31 = gr.Radio(choices=options[30], label=questions[30])
 
178
  text-align: center; /* 텍스트를 가운데 정렬 */
179
 
180
  }
181
+ /* 결과 출력 컴포넌트의 글자 크기 3배로 조정 */
182
  .output {
183
+ font-size: 300%; /* 기본 글자 크기의 2배 */
184
  }
185
 
186
  /* 탭 클릭 시 눌린 탭에 적용될 스타일 */
 
205
  contact_phone = gr.Textbox(label="연락처")
206
  contact_email = gr.Textbox(label="이메일 주소")
207
 
208
+ with gr.Tab("1단계"):
209
  answer1 = gr.Radio(choices=options[0], label=questions[0])
210
  answer2 = gr.Radio(choices=options[1], label=questions[1])
211
  answer3 = gr.Radio(choices=options[2], label=questions[2])
212
  answer4 = gr.Radio(choices=options[3], label=questions[3])
213
+ with gr.Tab("2단계"):
214
  answer5 = gr.Radio(choices=options[4], label=questions[4])
215
  answer6 = gr.Radio(choices=options[5], label=questions[5])
216
  answer7 = gr.Radio(choices=options[6], label=questions[6])
217
  answer8 = gr.Radio(choices=options[7], label=questions[7])
218
+ with gr.Tab("3단계"):
219
  answer9 = gr.Radio(choices=options[8], label=questions[8])
220
  answer10 = gr.Radio(choices=options[9], label=questions[9])
221
  answer11 = gr.Radio(choices=options[10], label=questions[10])
222
  answer12 = gr.Radio(choices=options[11], label=questions[11])
223
+ with gr.Tab("4단계"):
224
  answer13 = gr.Radio(choices=options[12], label=questions[12])
225
  answer14 = gr.Radio(choices=options[13], label=questions[13])
226
  answer15 = gr.Radio(choices=options[14], label=questions[14])
227
  answer16 = gr.Radio(choices=options[15], label=questions[15])
228
+ with gr.Tab("5단계"):
229
  answer17 = gr.Radio(choices=options[16], label=questions[16])
230
  answer18 = gr.Radio(choices=options[17], label=questions[17])
231
  answer19 = gr.Radio(choices=options[18], label=questions[18])
232
  answer20 = gr.Radio(choices=options[19], label=questions[19])
233
+ with gr.Tab("6단계"):
234
  answer21 = gr.Radio(choices=options[20], label=questions[20])
235
  answer22 = gr.Radio(choices=options[21], label=questions[21])
236
  answer23 = gr.Radio(choices=options[22], label=questions[22])
237
  answer24 = gr.Radio(choices=options[23], label=questions[23])
238
+ with gr.Tab("7단계"):
239
  answer25 = gr.Radio(choices=options[24], label=questions[24])
240
  answer26 = gr.Radio(choices=options[25], label=questions[25])
241
  answer27 = gr.Radio(choices=options[26], label=questions[26])
242
  answer28 = gr.Radio(choices=options[27], label=questions[27])
243
+ with gr.Tab("8단계/ 최종"):
244
  answer29 = gr.Radio(choices=options[28], label=questions[28])
245
  answer30 = gr.Radio(choices=options[29], label=questions[29])
246
  answer31 = gr.Radio(choices=options[30], label=questions[30])