Emil25 commited on
Commit
38abd5a
·
verified ·
1 Parent(s): cf33f7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -47,6 +47,8 @@ def download_comments(video_id: str) -> pd.DataFrame:
47
  Returns: DataFrame: A DataFrame containing the downloaded comments from the video.
48
  """
49
  DEV_KEY = os.getenv('API_KEY_YOUTUBE')
 
 
50
  youtube = googleapiclient.discovery.build("youtube",
51
  "v3",
52
  developerKey=DEV_KEY)
 
47
  Returns: DataFrame: A DataFrame containing the downloaded comments from the video.
48
  """
49
  DEV_KEY = os.getenv('API_KEY_YOUTUBE')
50
+ if DEV_KEY:
51
+ print("Key is ok")
52
  youtube = googleapiclient.discovery.build("youtube",
53
  "v3",
54
  developerKey=DEV_KEY)