Ajayadav commited on
Commit
46acdd1
·
verified ·
1 Parent(s): d3f907f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ MY_API_KEY = "PASTE_YOUR_AIZASY_KEY_HERE"
11
  # --- 2. ADVANCED AI LOGIC ---
12
  def snapchef_logic(image, diet_type, spice_level, language):
13
  # A. Safety Checks
14
- if not MY_API_KEY or "PASTE_YOUR" in MY_API_KEY:
15
  return "⚠️ Error: You forgot to paste your API Key in line 8 of the code!", None
16
  if image is None:
17
  return "⚠️ Please upload a photo first!", None
 
11
  # --- 2. ADVANCED AI LOGIC ---
12
  def snapchef_logic(image, diet_type, spice_level, language):
13
  # A. Safety Checks
14
+ if not MY_API_KEY or "AIzaSyCnx6TGpwfDp8XLloniYxxYi58bHz5k1vw" in MY_API_KEY:
15
  return "⚠️ Error: You forgot to paste your API Key in line 8 of the code!", None
16
  if image is None:
17
  return "⚠️ Please upload a photo first!", None