Spaces:
Sleeping
Sleeping
Prasann15479
commited on
Commit
•
9b1aa73
1
Parent(s):
590d728
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import warnings
|
|
9 |
import streamlit as st
|
10 |
warnings.filterwarnings("ignore")
|
11 |
#Gemini configuration
|
12 |
-
gemini_api_key = Gemini_api
|
13 |
genai.configure(api_key=gemini_api_key)
|
14 |
safety_settings = [
|
15 |
{
|
|
|
9 |
import streamlit as st
|
10 |
warnings.filterwarnings("ignore")
|
11 |
#Gemini configuration
|
12 |
+
gemini_api_key = st.secrets["Gemini_api"]
|
13 |
genai.configure(api_key=gemini_api_key)
|
14 |
safety_settings = [
|
15 |
{
|