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