Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,11 @@ import json
|
|
4 |
import re
|
5 |
import gradio as gr
|
6 |
from neo4j import GraphDatabase
|
|
|
7 |
|
8 |
-
|
|
|
|
|
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 |
|