ssboost commited on
Commit
d6c8aa6
·
verified ·
1 Parent(s): 20bd654

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -276,7 +276,7 @@ def wrapper_modified(keyword, korean_only, apply_main_keyword_option, exclude_ze
276
  gr.update(choices=cat_choices),
277
  gr.update(choices=vol_choices),
278
  None,
279
- gr.update(choices=cat_choices, value=selected_cat), # 분석용 카테고리도 같은 선택지로 업데이트
280
  local_file,
281
  gr.update(visible=True),
282
  gr.update(visible=True),
@@ -639,7 +639,7 @@ def create_app():
639
  inputs=[keyword, korean_only, apply_main_keyword, exclude_zero_volume, session_id],
640
  outputs=[
641
  table_output, category_filter, search_volume_filter,
642
- state_df, selected_category, download_output,
643
  keyword_analysis_section, category_analysis_section,
644
  progress_section, empty_table_html, execution_section,
645
  keyword_state
 
276
  gr.update(choices=cat_choices),
277
  gr.update(choices=vol_choices),
278
  None,
279
+ gr.update(choices=cat_choices, value=selected_cat), # 분석용 카테고리 선택지와 업데이트
280
  local_file,
281
  gr.update(visible=True),
282
  gr.update(visible=True),
 
639
  inputs=[keyword, korean_only, apply_main_keyword, exclude_zero_volume, session_id],
640
  outputs=[
641
  table_output, category_filter, search_volume_filter,
642
+ state_df, selected_category, download_output, # selected_category가 분석용 카테고리
643
  keyword_analysis_section, category_analysis_section,
644
  progress_section, empty_table_html, execution_section,
645
  keyword_state