Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,7 @@ from langchain_google_genai import ChatGoogleGenerativeAI
|
|
6 |
import google.generativeai as genai
|
7 |
import gradio as gr
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
# Function for initialisation
|
13 |
def initialize(file_path, question):
|
14 |
genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
15 |
model = genai.GenerativeModel('gemini-pro')
|
|
|
6 |
import google.generativeai as genai
|
7 |
import gradio as gr
|
8 |
|
9 |
+
# Function for initialization
|
|
|
|
|
|
|
10 |
def initialize(file_path, question):
|
11 |
genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
12 |
model = genai.GenerativeModel('gemini-pro')
|