pyresearch commited on
Commit
53ba409
·
1 Parent(s): 2cb03e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,11 +5,11 @@ from clarifai_grpc.grpc.api.status import status_code_pb2
5
 
6
  # Function to make API call and get text completion
7
  def get_text_completion(raw_text):
8
- PAT = '9b209aadda08410caf0b6d815b57e080'
9
  USER_ID = 'openai'
10
  APP_ID = 'chat-completion'
11
  MODEL_ID = 'GPT-4'
12
- MODEL_VERSION_ID = '5d7a50b44aec4a01a9c492c5a5fcf387'
13
 
14
  channel = ClarifaiChannel.get_grpc_channel()
15
  stub = service_pb2_grpc.V2Stub(channel)
 
5
 
6
  # Function to make API call and get text completion
7
  def get_text_completion(raw_text):
8
+ PAT = '3ca5bd8b0f2244eb8d0e4b2838fc3cf1'
9
  USER_ID = 'openai'
10
  APP_ID = 'chat-completion'
11
  MODEL_ID = 'GPT-4'
12
+ MODEL_VERSION_ID = '182136408b4b4002a920fd500839f2c8'
13
 
14
  channel = ClarifaiChannel.get_grpc_channel()
15
  stub = service_pb2_grpc.V2Stub(channel)