0.1.135
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user