hruday96 commited on
Commit
3eb5441
·
verified ·
1 Parent(s): d1ae9cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import google.generativeai as genai
3
+
4
+ # App header
5
+ st.header("Candidate Outreach Using Ai")
6
+
7
+ # Retrieve the API key from Streamlit secrets
8
+ GOOGLE_API_KEY = st.secrets["GEMINI_API_KEY"]
9
+
10
+ # Configure the Google Generative AI API with your API key
11
+ genai.configure(api_key=GOOGLE_API_KEY)
12
+
13
+ # Input field for the medicine name
14
+ st.subheader("Enter Candidate Details:")
15
+ candidate_name = st.text_input('Candidate Name', '')