Spaces:
Running
Running
DebasishDhal99
commited on
Commit
•
21f5c0e
1
Parent(s):
5254978
Update playlist_duration.py
Browse files- playlist_duration.py +2 -1
playlist_duration.py
CHANGED
@@ -5,8 +5,9 @@ import re
|
|
5 |
import gradio as gr
|
6 |
from urllib.parse import urlparse, parse_qs
|
7 |
from contextlib import suppress
|
|
|
8 |
|
9 |
-
api_key = api_key_secret
|
10 |
import googleapiclient
|
11 |
from googleapiclient.discovery import build
|
12 |
from googleapiclient.errors import HttpError
|
|
|
5 |
import gradio as gr
|
6 |
from urllib.parse import urlparse, parse_qs
|
7 |
from contextlib import suppress
|
8 |
+
import os
|
9 |
|
10 |
+
api_key = os.getenv("api_key_secret")
|
11 |
import googleapiclient
|
12 |
from googleapiclient.discovery import build
|
13 |
from googleapiclient.errors import HttpError
|