mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-18 20:27:58 +00:00
Upgraded
This commit is contained in:
parent
e49b5bfc49
commit
ea52332dbb
@ -259,7 +259,8 @@ def chat_completions():
|
|||||||
print('Streaming')
|
print('Streaming')
|
||||||
if True:
|
if True:
|
||||||
def callback(token, data_type):
|
def callback(token, data_type):
|
||||||
print(token)
|
print(token,end="",flush=True)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
response = cv.safe_generate(
|
response = cv.safe_generate(
|
||||||
full_discussion=full_discussion,
|
full_discussion=full_discussion,
|
||||||
|
Loading…
Reference in New Issue
Block a user