hruday96 commited on
Commit
d5c85df
·
verified ·
1 Parent(s): a791e12

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ import google.generativeai as genai
3
+
4
+ ## Streamlit app layout
5
+ st.title('Personal Blog Writer')
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)