fatmayousuf commited on
Commit
7d506a9
·
verified ·
1 Parent(s): 8a13085

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -12,7 +12,7 @@ from dotenv import load_dotenv
12
  # 1. SETUP API KEY
13
  # ----------------
14
  load_dotenv()
15
- api_key = os.getenv("Gemini_API_Key")
16
  # Configure the Google AI library
17
  genai.configure(api_key=api_key)
18
 
@@ -98,9 +98,7 @@ def gradio_interface():
98
  # Example image + prompt pairs
99
  examples = [
100
  ["cookies.jpg", "Detect the cookies and label their types."],
101
- ["messed_room.jpg", "Find the unorganized item and suggest action in label in the image to fix them."],
102
- ["yoga.jpg", "Show the different yoga poses and name them."],
103
- ["zoom_face.png", "Label the tired faces in the image."]
104
  ]
105
 
106
  with gr.Blocks(gr.themes.Glass(secondary_hue= "rose")) as demo:
 
12
  # 1. SETUP API KEY
13
  # ----------------
14
  load_dotenv()
15
+ api_key = os.getenv("AIzaSyAdB0vfFqsbTZO8srXJAb2ehUZqHeEamdg")
16
  # Configure the Google AI library
17
  genai.configure(api_key=api_key)
18
 
 
98
  # Example image + prompt pairs
99
  examples = [
100
  ["cookies.jpg", "Detect the cookies and label their types."],
101
+ ["fridge.jpg", "Detect the food items in the fridge and label their categories (vegetables, dairy, drinks, leftovers)."]
 
 
102
  ]
103
 
104
  with gr.Blocks(gr.themes.Glass(secondary_hue= "rose")) as demo: