gabrielwithhappy commited on
Commit
bca29d2
1 Parent(s): eece26e

disable news update btn due to dynamic loading

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -115,9 +115,8 @@ with gr.Blocks(theme='pseudolab/huggingface-korea-theme') as demo:
115
  update_button = gr.Button(value="뉴스 데이터 업데이트")
116
  update_button.click(fn=update_news_data, inputs=None, outputs=None)
117
 
118
- _news_data = global news_data
119
  gr.Examples(
120
- _news_data,
121
  [Link_TXT, Link_URL],
122
  )
123
 
 
115
  update_button = gr.Button(value="뉴스 데이터 업데이트")
116
  update_button.click(fn=update_news_data, inputs=None, outputs=None)
117
 
 
118
  gr.Examples(
119
+ news_data,
120
  [Link_TXT, Link_URL],
121
  )
122