gabrielwithhappy commited on
Commit
eece26e
1 Parent(s): 936f80e

fix local reference issue

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -115,8 +115,9 @@ 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
  gr.Examples(
119
- news_data,
120
  [Link_TXT, Link_URL],
121
  )
122
 
 
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