From 3f8682e89f38ea42ce64c42d5e351c9f2061b8b0 Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Wed, 18 Dec 2024 04:44:07 +0800 Subject: [PATCH] 0.1.135 --- PyPI/setup.cfg | 2 +- PyPI/src/guan.egg-info/PKG-INFO | 2 +- PyPI/src/guan/data_processing.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index 1badd73..227246c 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = guan -version = 0.1.134 +version = 0.1.135 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 8129f55..3812bc3 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.134 +Version: 0.1.135 Summary: An open source python package Home-page: https://py.guanjihuan.com Author: guanjihuan diff --git a/PyPI/src/guan/data_processing.py b/PyPI/src/guan/data_processing.py index 4520557..d72b491 100644 --- a/PyPI/src/guan/data_processing.py +++ b/PyPI/src/guan/data_processing.py @@ -56,7 +56,7 @@ def chat(prompt='你好', stream=1, model=1, top_p=0.8, temperature=0.85): break else: if stream == 1: - print(stream_response, end='') + print(stream_response, end='', flush=True) except: break client_socket.close()