Update app.py
Browse files
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)
|