Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
import google.generativeai as genai
|
4 |
-
genai.configure(api_key=os.getenv('
|
5 |
st.title('Analyze Image with Google Gemini')
|
6 |
model=genai.GenerativeModel('gemini-pro-vision')
|
7 |
from PIL import Image
|
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
import google.generativeai as genai
|
4 |
+
genai.configure(api_key=os.getenv('gemini_api'))
|
5 |
st.title('Analyze Image with Google Gemini')
|
6 |
model=genai.GenerativeModel('gemini-pro-vision')
|
7 |
from PIL import Image
|