rphrp1985 commited on
Commit
a7583a6
·
verified ·
1 Parent(s): b0c49af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -62,7 +62,8 @@ def run_inference(message, history):
62
  final_msg.append(UserMessage(content =tmmp ) )
63
  else:
64
  final_msg.append(AssistantMessage(content = x['content'][0]['text'] ))
65
-
 
66
  completion_request = ChatCompletionRequest(messages=final_msg)
67
 
68
  encoded = tokenizer.encode_chat_completion(completion_request)
 
62
  final_msg.append(UserMessage(content =tmmp ) )
63
  else:
64
  final_msg.append(AssistantMessage(content = x['content'][0]['text'] ))
65
+
66
+ print('final msg ', final_msg)
67
  completion_request = ChatCompletionRequest(messages=final_msg)
68
 
69
  encoded = tokenizer.encode_chat_completion(completion_request)