Skip to content

Commit

Permalink
fixed error in PredictionServiceClient calling
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 687477199
Change-Id: Ia108098090df74fedc68048004ccabad38548cab
  • Loading branch information
minsukchang authored and copybara-github committed Oct 19, 2024
1 parent c7e8777 commit e24a50d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions concordia/language_model/google_cloud_custom_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ def sample_text(

try:
response = (
client()
.predict(
client.predict(
endpoint=endpoint_name,
instances=[{"inputs": prompt}],
parameters={
Expand Down

0 comments on commit e24a50d

Please sign in to comment.