0.1.139
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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 == '': | ||||
|   | ||||
		Reference in New Issue
	
	Block a user