Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ def multiturn_generate_content(file_path, user_query):
|
|
| 72 |
encoded_string = encode_file(file_path)
|
| 73 |
mime_type = get_matching_format(file_path)
|
| 74 |
if encoded_string:
|
| 75 |
-
vertexai.init(project="
|
| 76 |
|
| 77 |
model = GenerativeModel(
|
| 78 |
"gemini-1.5-pro-001",
|
|
|
|
| 72 |
encoded_string = encode_file(file_path)
|
| 73 |
mime_type = get_matching_format(file_path)
|
| 74 |
if encoded_string:
|
| 75 |
+
vertexai.init(project="firstsource-vertex", location="us-central1")
|
| 76 |
|
| 77 |
model = GenerativeModel(
|
| 78 |
"gemini-1.5-pro-001",
|