File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
deployment/optional-fine-tuning-model
cloud-function-remote/src Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 26
26
import json
27
27
28
28
29
- PROJECT_ID = os .environ .get ("PROJECT_ID" , "PROJECT_ID1 " ) # @param {type:"string"}
29
+ PROJECT_ID = os .environ .get ("PROJECT_ID" , "PROJECT_ID " ) # @param {type:"string"}
30
30
LOCATION = os .environ .get ("LOCATION" , "us-central1" ) # @param {type:"string"}
31
31
TUNED_MODEL_URL = os .environ .get ("TUNED_MODEL_URL" , "projects/94990521171/locations/us-central1/models/7522623261755047936" )
32
32
CHAR_PER_TOKEN = 4
@@ -166,4 +166,3 @@ def generate_prompt_chunks(prompt):
166
166
167
167
print (return_dict )
168
168
return json .dumps (return_dict )
169
-
Original file line number Diff line number Diff line change @@ -171,4 +171,3 @@ main:
171
171
bindings :
172
172
- members : ${service_account}
173
173
role : " roles/cloudfunctions.invoker"
174
-
You can’t perform that action at this time.
0 commit comments