Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import google.generativeai as genai
|
3 |
+
|
4 |
+
|
5 |
+
# App header
|
6 |
+
st.header("JD-Resume-Fit-Check")
|
7 |
+
|
8 |
+
# Retrieve the API key from Streamlit secrets
|
9 |
+
GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
|
10 |
+
|
11 |
+
# Configure the Google Generative AI API with your API key
|
12 |
+
genai.configure(api_key=GOOGLE_API_KEY)
|