diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index 768de3b..80fe6dd 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.1.103 +version = 0.1.104 author = guanjihuan author_email = guanjihuan@163.com description = An open source python package diff --git a/PyPI/src/guan.egg-info/PKG-INFO b/PyPI/src/guan.egg-info/PKG-INFO index e065d6d..d51d4af 100644 --- a/PyPI/src/guan.egg-info/PKG-INFO +++ b/PyPI/src/guan.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: guan -Version: 0.1.103 +Version: 0.1.104 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/others.py b/PyPI/src/guan/others.py index 36ad28b..246f76e 100644 --- a/PyPI/src/guan/others.py +++ b/PyPI/src/guan/others.py @@ -18,6 +18,7 @@ def chat(prompt='你好', model=1, stream=0, top_p=0.8, temperature=0.85): client_socket.send(send_message.encode()) if stream == 1: print('\n--- Begin Stream Message ---\n') + response = '' while True: try: data = client_socket.recv(1024)