Spaces:
Sleeping
Sleeping
Ashmi Banerjee
commited on
Commit
Β·
cd64026
1
Parent(s):
8842640
update
Browse files
src/text_generation/vertexai_setup.py
CHANGED
@@ -25,7 +25,7 @@ def decode_service_key():
|
|
25 |
|
26 |
|
27 |
def initialize_vertexai_params(location: Optional[str] = "us-central1"):
|
28 |
-
creds_file_name =
|
29 |
print(creds_file_name)
|
30 |
if not os.path.exists(os.path.dirname(creds_file_name)):
|
31 |
credentials = decode_service_key()
|
|
|
25 |
|
26 |
|
27 |
def initialize_vertexai_params(location: Optional[str] = "us-central1"):
|
28 |
+
creds_file_name = "/.config/gcp_default_credentials.json"
|
29 |
print(creds_file_name)
|
30 |
if not os.path.exists(os.path.dirname(creds_file_name)):
|
31 |
credentials = decode_service_key()
|
src/ui/templates/intro.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<!-- intro.html -->
|
2 |
<body>
|
3 |
<h1 style='font-size:xx-large; color: green; text-align: center'>π Green City Finder π</h1>
|
4 |
-
<h3 style="text-align: center">AI Sprint 2024 submissions by Ashmi Banerjee
|
5 |
<br>
|
6 |
<p style="text-align: justify">We're testing the compatibility of
|
7 |
Retrieval Augmented Generation (RAG) implementations with Google's <b>Gemma-2b-it</b> & <b>Gemini 1.0 Pro</b>
|
@@ -11,5 +11,5 @@
|
|
11 |
</p>
|
12 |
<p style="text-align: justify">Sustainability is calculated based on the work by <a href="https://arxiv.org/abs/2403.18604">Banerjee et al.</a></p>
|
13 |
<br>
|
14 |
-
<p style="text-align: justify">Google Cloud credits are provided for this project.</p>
|
15 |
</body>
|
|
|
1 |
<!-- intro.html -->
|
2 |
<body>
|
3 |
<h1 style='font-size:xx-large; color: green; text-align: center'>π Green City Finder π</h1>
|
4 |
+
<h3 style="text-align: center">AI Sprint 2024 submissions by Ashmi Banerjee.<sup>*</sup></h3>
|
5 |
<br>
|
6 |
<p style="text-align: justify">We're testing the compatibility of
|
7 |
Retrieval Augmented Generation (RAG) implementations with Google's <b>Gemma-2b-it</b> & <b>Gemini 1.0 Pro</b>
|
|
|
11 |
</p>
|
12 |
<p style="text-align: justify">Sustainability is calculated based on the work by <a href="https://arxiv.org/abs/2403.18604">Banerjee et al.</a></p>
|
13 |
<br>
|
14 |
+
<p style="text-align: justify"><sup>*</sup>Google Cloud credits are provided for this project.</p>
|
15 |
</body>
|