Spaces:
Sleeping
Sleeping
Aiswarya Sankar
commited on
Commit
·
b225fce
1
Parent(s):
fb759cc
update file
Browse files
app.py
CHANGED
@@ -423,7 +423,7 @@ def solveGithubIssue(ticket, history) -> Response:
|
|
423 |
flat_list = [item for sublist in history for item in sublist]
|
424 |
flat_list = [item for item in flat_list if item is not None]
|
425 |
|
426 |
-
print(
|
427 |
for char in qa({"question": question, "chat_history": flat_list})["answer"]:
|
428 |
history[-1][1] += char
|
429 |
yield history
|
|
|
423 |
flat_list = [item for sublist in history for item in sublist]
|
424 |
flat_list = [item for item in flat_list if item is not None]
|
425 |
|
426 |
+
print(flat_list)
|
427 |
for char in qa({"question": question, "chat_history": flat_list})["answer"]:
|
428 |
history[-1][1] += char
|
429 |
yield history
|