Spaces:
Sleeping
Sleeping
Commit
•
56cb5b5
1
Parent(s):
4e0b2a1
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from moviepy.audio.AudioClip import AudioClip
|
|
9 |
|
10 |
def search_pexels_videos(query):
|
11 |
API_KEY = '5woz23MGx1QrSY0WHFb0BRi29JvbXPu97Hg0xnklYgHUI8G0w23FKH62' # 실제 Pexels API 키로 교체하세요.
|
12 |
-
url = f"https://api.pexels.com/videos/search?query={query}&per_page=
|
13 |
headers = {"Authorization": API_KEY}
|
14 |
response = requests.get(url, headers=headers)
|
15 |
data = response.json()
|
|
|
9 |
|
10 |
def search_pexels_videos(query):
|
11 |
API_KEY = '5woz23MGx1QrSY0WHFb0BRi29JvbXPu97Hg0xnklYgHUI8G0w23FKH62' # 실제 Pexels API 키로 교체하세요.
|
12 |
+
url = f"https://api.pexels.com/videos/search?query={query}&per_page=80"
|
13 |
headers = {"Authorization": API_KEY}
|
14 |
response = requests.get(url, headers=headers)
|
15 |
data = response.json()
|