sidagarwal04 commited on
Commit
e448daa
·
verified ·
1 Parent(s): 43806ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -4,8 +4,11 @@ import json
4
  import re
5
  import gradio as gr
6
  from neo4j import GraphDatabase
 
7
 
8
- genai.configure(api_key = "GEMINI_API_KEY")
 
 
9
 
10
  def get_answer(input):
11
 
 
4
  import re
5
  import gradio as gr
6
  from neo4j import GraphDatabase
7
+ import os
8
 
9
+ api_key = os.getenv("GEMINI_API_KEY")
10
+
11
+ genai.configure(api_key = api_key)
12
 
13
  def get_answer(input):
14