Spaces:
Sleeping
Sleeping
Slfagrouche
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,15 +9,9 @@ from googleapiclient.discovery import build
|
|
9 |
headers = {"Authorization": os.getenv('HF_API_KEY')}
|
10 |
YOUTUBE_DATA_API = os.getenv('YOUTUBE_API_KEY')
|
11 |
mealdb_base_url = os.getenv('MEALDB_BASE_URL')
|
12 |
-
|
13 |
youtube = build('youtube', 'v3', developerKey=YOUTUBE_DATA_API)
|
14 |
|
15 |
|
16 |
-
print("HF_API_KEY:", os.getenv('HF_API_KEY'))
|
17 |
-
print("YOUTUBE_API_KEY:", os.getenv('YOUTUBE_API_KEY'))
|
18 |
-
print("MEALDB_BASE_URL:", os.getenv('MEALDB_BASE_URL'))
|
19 |
-
|
20 |
-
|
21 |
# Function to convert image to base64 (unused in this script but defined)
|
22 |
def image_to_base64(image):
|
23 |
buffered = io.BytesIO()
|
|
|
9 |
headers = {"Authorization": os.getenv('HF_API_KEY')}
|
10 |
YOUTUBE_DATA_API = os.getenv('YOUTUBE_API_KEY')
|
11 |
mealdb_base_url = os.getenv('MEALDB_BASE_URL')
|
|
|
12 |
youtube = build('youtube', 'v3', developerKey=YOUTUBE_DATA_API)
|
13 |
|
14 |
|
|
|
|
|
|
|
|
|
|
|
15 |
# Function to convert image to base64 (unused in this script but defined)
|
16 |
def image_to_base64(image):
|
17 |
buffered = io.BytesIO()
|