Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def real_time_tooltips(game_event):
|
|
49 |
return chat_completion.choices[0].message.content.strip()
|
50 |
|
51 |
# Function to fetch images and news for a team or player
|
52 |
-
def
|
53 |
url = "https://www.searchapi.io/api/v1/search"
|
54 |
params = {
|
55 |
"engine": "google",
|
|
|
49 |
return chat_completion.choices[0].message.content.strip()
|
50 |
|
51 |
# Function to fetch images and news for a team or player
|
52 |
+
def fetch_news_images(query):
|
53 |
url = "https://www.searchapi.io/api/v1/search"
|
54 |
params = {
|
55 |
"engine": "google",
|