Spaces:
Sleeping
Sleeping
Changed API
Browse files
app.py
CHANGED
|
@@ -4,7 +4,9 @@ import streamlit as st
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Configure Gemini API (Use your actual API key)
|
| 7 |
-
genai.configure(api_key='AIzaSyD5yLv8zkGNC7YbxxODLqlMJJKTv8VWdQw')
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Function to get data from OpenFoodFacts API
|
| 10 |
def get_data(product_name):
|
|
|
|
| 4 |
from PIL import Image
|
| 5 |
|
| 6 |
# Configure Gemini API (Use your actual API key)
|
| 7 |
+
# genai.configure(api_key='AIzaSyD5yLv8zkGNC7YbxxODLqlMJJKTv8VWdQw')
|
| 8 |
+
|
| 9 |
+
genai.configure(api_key='AIzaSyCootL_jwKI3YDb6cKRJV-Ad0N4oKlLXXE')
|
| 10 |
|
| 11 |
# Function to get data from OpenFoodFacts API
|
| 12 |
def get_data(product_name):
|