Update app.py
Browse files
app.py
CHANGED
@@ -21,9 +21,9 @@ vertexai.init(project = project,
|
|
21 |
credentials = credentials)
|
22 |
print("###2")
|
23 |
|
24 |
-
from vertexai.language_models import TextGenerationModel
|
25 |
|
26 |
-
generation_model = TextGenerationModel.from_pretrained("text-bison@001")
|
27 |
print("###3")
|
28 |
|
29 |
def invoke(prompt):
|
|
|
21 |
credentials = credentials)
|
22 |
print("###2")
|
23 |
|
24 |
+
#from vertexai.language_models import TextGenerationModel
|
25 |
|
26 |
+
#generation_model = TextGenerationModel.from_pretrained("text-bison@001")
|
27 |
print("###3")
|
28 |
|
29 |
def invoke(prompt):
|