seawolf2357 commited on
Commit
84aff1b
ยท
verified ยท
1 Parent(s): 28c3288

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  import requests
3
  from datetime import datetime, timedelta
 
4
 
5
  # Google Custom Search API ํ‚ค์™€ ๊ฒ€์ƒ‰ ์—”์ง„ ID
6
  API_KEY = "AIzaSyDUz3wkGal0ewRtPlzeMit88bV4hS4ZIVY"
@@ -147,5 +148,5 @@ iface = gr.Interface(
147
  description="Search for news articles from the last 24 hours using Google Custom Search API. You can search in a specific country or across all countries."
148
  )
149
 
150
- # ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹คํ–‰
151
- iface.launch()
 
1
  import gradio as gr
2
  import requests
3
  from datetime import datetime, timedelta
4
+ import concurrent.futures
5
 
6
  # Google Custom Search API ํ‚ค์™€ ๊ฒ€์ƒ‰ ์—”์ง„ ID
7
  API_KEY = "AIzaSyDUz3wkGal0ewRtPlzeMit88bV4hS4ZIVY"
 
148
  description="Search for news articles from the last 24 hours using Google Custom Search API. You can search in a specific country or across all countries."
149
  )
150
 
151
+ # ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹คํ–‰ (๊ณต๊ฐœ ๋งํฌ ์ƒ์„ฑ)
152
+ iface.launch(share=True)