bstraehle commited on
Commit
a4610d0
·
verified ·
1 Parent(s): 8dad10b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,7 +15,7 @@ config = {
15
  "top_p": 1.0,
16
  }
17
 
18
- credentials = json.loads(credentials)
19
 
20
  from google.oauth2 import service_account
21
  credentials = service_account.Credentials.from_service_account_info(credentials)
@@ -55,7 +55,7 @@ def invoke(prompt):
55
  return completion
56
 
57
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using the <a href='https://cloud.google.com/vertex-ai'>Google Vertex AI</a> API
58
- with Gemini Pro model."""
59
 
60
  gr.close_all()
61
 
 
15
  "top_p": 1.0,
16
  }
17
 
18
+ credentials = "BringYourOwn" #json.loads(credentials)
19
 
20
  from google.oauth2 import service_account
21
  credentials = service_account.Credentials.from_service_account_info(credentials)
 
55
  return completion
56
 
57
  description = """<a href='https://www.gradio.app/'>Gradio</a> UI using the <a href='https://cloud.google.com/vertex-ai'>Google Vertex AI</a> API
58
+ with Gemini Pro model. Clone and bring your own credentials."""
59
 
60
  gr.close_all()
61