Aiswarya Sankar commited on
Commit
f609dd9
·
1 Parent(s): 6cc9e67

update file

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -429,7 +429,7 @@ def solveGithubIssue(ticket, history) -> Response:
429
  history = [[q_display, ""]]
430
  history[-1][1] = ""
431
  print(history)
432
- for char in qa({"question": question, "chat_history": chat_history})["answer"]:
433
  history[-1][1] += char
434
  time.sleep(0.01)
435
  yield history
@@ -520,6 +520,7 @@ with gr.Blocks() as demo:
520
 
521
  # Display the titles in the dropdown
522
  def create_ticket_dropdown():
 
523
  return ticketDropdown.update(
524
  choices=git_titles.value
525
  )
 
429
  history = [[q_display, ""]]
430
  history[-1][1] = ""
431
  print(history)
432
+ for char in qa({"question": question, "chat_history": []})["answer"]:
433
  history[-1][1] += char
434
  time.sleep(0.01)
435
  yield history
 
520
 
521
  # Display the titles in the dropdown
522
  def create_ticket_dropdown():
523
+ print(git_titles.value)
524
  return ticketDropdown.update(
525
  choices=git_titles.value
526
  )