Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def load_pdfs(folder_path):
|
|
| 32 |
def initialize_chat(pdf_content):
|
| 33 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 34 |
model = genai.GenerativeModel(
|
| 35 |
-
model_name="gemini-
|
| 36 |
generation_config={
|
| 37 |
"temperature": 0.7,
|
| 38 |
"top_p": 0.95,
|
|
|
|
| 32 |
def initialize_chat(pdf_content):
|
| 33 |
genai.configure(api_key=GOOGLE_API_KEY)
|
| 34 |
model = genai.GenerativeModel(
|
| 35 |
+
model_name="gemini-2.0-flash",
|
| 36 |
generation_config={
|
| 37 |
"temperature": 0.7,
|
| 38 |
"top_p": 0.95,
|