Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,6 +107,7 @@ def initialize_llmchain(llm_model, temperature, max_tokens, top_k, vector_db, pr
|
|
107 |
|
108 |
# HuggingFaceHub uses HF inference endpoints
|
109 |
progress(0.5, desc="Initializing HF Hub...")
|
|
|
110 |
llm = VertexAI(model_name="gemini-pro")
|
111 |
# Use of trust_remote_code as model_kwargs
|
112 |
# Warning: langchain issue
|
|
|
107 |
|
108 |
# HuggingFaceHub uses HF inference endpoints
|
109 |
progress(0.5, desc="Initializing HF Hub...")
|
110 |
+
vertexai.init(project="imgcp-ff81e7053b072ce5", location="us-central1")
|
111 |
llm = VertexAI(model_name="gemini-pro")
|
112 |
# Use of trust_remote_code as model_kwargs
|
113 |
# Warning: langchain issue
|