arthrod commited on
Commit
f989b44
·
verified ·
1 Parent(s): 9e783b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ async def analyze_image_with_ai(image_data: bytes, question: str | None, api_key
44
  try:
45
  # Set the API key in environment for Gemini
46
  #os.environ['GEMINI_API_KEY'] = api_key
47
- if question is None or if question is "":
48
  logger.info(f"Question is {question}. Enforcing the default.")
49
  question = """
50
  <vision_task>
 
44
  try:
45
  # Set the API key in environment for Gemini
46
  #os.environ['GEMINI_API_KEY'] = api_key
47
+ if question is None or question is "":
48
  logger.info(f"Question is {question}. Enforcing the default.")
49
  question = """
50
  <vision_task>