Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,6 +16,9 @@ HEADERS = {
|
|
16 |
}
|
17 |
|
18 |
def search_youtube(query: str) -> str:
|
|
|
|
|
|
|
19 |
params = {"q": query, "hl": "en", "gl": "US"}
|
20 |
try:
|
21 |
response = requests.get(API_URL, headers=HEADERS, params=params)
|
|
|
16 |
}
|
17 |
|
18 |
def search_youtube(query: str) -> str:
|
19 |
+
"""
|
20 |
+
a tool that accepts a query and return youtube video link with related query
|
21 |
+
"""
|
22 |
params = {"q": query, "hl": "en", "gl": "US"}
|
23 |
try:
|
24 |
response = requests.get(API_URL, headers=HEADERS, params=params)
|