save
Browse files
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 |
-
|
6 |
-
genai.configure(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 |
"""
|