Spaces:
Sleeping
Sleeping
Aiswarya Sankar
commited on
Commit
·
ad11507
1
Parent(s):
88dcad4
update file
Browse files
app.py
CHANGED
@@ -422,7 +422,6 @@ def solveGithubIssue(ticket, history) -> Response:
|
|
422 |
print(history)
|
423 |
for char in qa({"question": question, "chat_history": []})["answer"]:
|
424 |
history[-1][1] += char
|
425 |
-
time.sleep(0.01)
|
426 |
yield history
|
427 |
|
428 |
|
@@ -470,7 +469,6 @@ def bot(history, **kwargs):
|
|
470 |
print(history)
|
471 |
history[-1][1] = ""
|
472 |
for char in qa({"question": user_message, "chat_history": chat_history})["answer"]:
|
473 |
-
print(char)
|
474 |
history[-1][1] += char
|
475 |
yield history
|
476 |
|
|
|
422 |
print(history)
|
423 |
for char in qa({"question": question, "chat_history": []})["answer"]:
|
424 |
history[-1][1] += char
|
|
|
425 |
yield history
|
426 |
|
427 |
|
|
|
469 |
print(history)
|
470 |
history[-1][1] = ""
|
471 |
for char in qa({"question": user_message, "chat_history": chat_history})["answer"]:
|
|
|
472 |
history[-1][1] += char
|
473 |
yield history
|
474 |
|