Spaces:
Paused
Paused
Update space
Browse files
app.py
CHANGED
@@ -105,8 +105,6 @@ class ChatLLM:
|
|
105 |
stop=TOKEN_STOP,
|
106 |
):
|
107 |
answer = output["choices"][0]["text"]
|
108 |
-
print("this is the answer")
|
109 |
-
print(answer)
|
110 |
history[-1][1] += answer # here we append the answer to the last message in the history
|
111 |
# stream the response
|
112 |
yield history, history
|
|
|
105 |
stop=TOKEN_STOP,
|
106 |
):
|
107 |
answer = output["choices"][0]["text"]
|
|
|
|
|
108 |
history[-1][1] += answer # here we append the answer to the last message in the history
|
109 |
# stream the response
|
110 |
yield history, history
|