louiecerv commited on
Commit
fe81f2a
·
1 Parent(s): 43dbe54
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,9 +1,10 @@
1
  import streamlit as st
2
  import google.generativeai as genai
3
  from PIL import Image
 
4
 
5
  # Replace with your actual API key
6
- API_KEY = "AIzaSyA3AAdrEZ4YwczJZpV8uVMIM7zTJpXtNgg"
7
  genai.configure(api_key=API_KEY)
8
 
9
  def multimodal_prompt(image_file, analysis_task):
 
1
  import streamlit as st
2
  import google.generativeai as genai
3
  from PIL import Image
4
+ import os
5
 
6
  # Replace with your actual API key
7
+ API_KEY = os.getenv("GEMINI_API_KEY")
8
  genai.configure(api_key=API_KEY)
9
 
10
  def multimodal_prompt(image_file, analysis_task):