Nikhil0987 commited on
Commit
de23dfa
·
verified ·
1 Parent(s): a23a3f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -2,6 +2,13 @@ import streamlit as st
2
  import json
3
  import google.generativeai as genai
4
 
 
 
 
 
 
 
 
5
  GOOGLE_API_KEY="AIzaSyCUBaL7TdISL7lRuBy19_X0-OsZfgbIgEc"
6
 
7
  genai.configure(api_key=GOOGLE_API_KEY)
 
2
  import json
3
  import google.generativeai as genai
4
 
5
+
6
+ # Load JSON configuration
7
+ with open('config.json', 'r') as f:
8
+ config = json.load(f)
9
+
10
+
11
+
12
  GOOGLE_API_KEY="AIzaSyCUBaL7TdISL7lRuBy19_X0-OsZfgbIgEc"
13
 
14
  genai.configure(api_key=GOOGLE_API_KEY)