Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ def run_lora(prompt,site,start,end):
|
|
| 11 |
url = f"https://www.googleapis.com/customsearch/v1?q=site:{site}+{prompt}&cx={SEARCH_ENGINE_ID}&key=AIzaSyCnsm9J-9zkLTKLHrt7UiMXNuOU5ddas08&sort=date:r:{start}:{end}"
|
| 12 |
|
| 13 |
# API key từ NewsAPI
|
| 14 |
-
api_key = '
|
| 15 |
|
| 16 |
# URL API của NewsAPI
|
| 17 |
url = (f'https://newsapi.org/v2/everything?'
|
|
|
|
| 11 |
url = f"https://www.googleapis.com/customsearch/v1?q=site:{site}+{prompt}&cx={SEARCH_ENGINE_ID}&key=AIzaSyCnsm9J-9zkLTKLHrt7UiMXNuOU5ddas08&sort=date:r:{start}:{end}"
|
| 12 |
|
| 13 |
# API key từ NewsAPI
|
| 14 |
+
api_key = f'8ac7c497c32a43f09fe9c39a7a316239'
|
| 15 |
|
| 16 |
# URL API của NewsAPI
|
| 17 |
url = (f'https://newsapi.org/v2/everything?'
|