This commit is contained in:
guanjihuan 2025-01-02 22:32:52 +08:00
parent 24db487104
commit 880d54ec79
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
[metadata]
# replace with your username:
name = guan
version = 0.1.138
version = 0.1.139
author = guanjihuan
author_email = guanjihuan@163.com
description = An open source python package

View File

@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: guan
Version: 0.1.138
Version: 0.1.139
Summary: An open source python package
Home-page: https://py.guanjihuan.com
Author: guanjihuan

View File

@ -39,7 +39,7 @@ def chat(prompt='你好', stream=1, model=1, top_p=0.8, temperature=0.85):
client_socket.send(send_message.encode('utf-8'))
time.sleep(0.2)
if stream == 1:
print('\n--- Begin Chat Stream Message ---\n')
print('\n--- Start Chat Stream Message ---\n')
response = ''
while True:
if prompt == '':