Aiswarya Sankar commited on
Commit
7165d71
·
1 Parent(s): e39be17

update file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -539,8 +539,8 @@ with gr.Blocks() as demo:
539
  # Create the dropdown
540
  # ticket_choices = {git_tickets.value["title"]: ticket for ticket in tickets}
541
  # ticket_titles = [git_tickets.value["title"] for ticket in tickets]
542
- ticketDropdown = gr.Dropdown(choices=create_ticket_dropdown(), title="Github Issues", visible=False)
543
- ingestTickets = gr.Button("Ingest github tickets").click(create_ticket_dropdown, inputs=[], outputs=ticketDropdown) # (fetchGithubIssues).then
544
 
545
  # Extract the ticket title, body for the selected ticket
546
  chatbot = gr.Chatbot()
 
539
  # Create the dropdown
540
  # ticket_choices = {git_tickets.value["title"]: ticket for ticket in tickets}
541
  # ticket_titles = [git_tickets.value["title"] for ticket in tickets]
542
+ ticketDropdown = gr.Dropdown(choices=create_ticket_dropdown(), title="Github Issues").focus(create_ticket_dropdown())
543
+ # ingestTickets = gr.Button("Ingest github tickets").click(create_ticket_dropdown, inputs=[], outputs=ticketDropdown) # (fetchGithubIssues).then
544
 
545
  # Extract the ticket title, body for the selected ticket
546
  chatbot = gr.Chatbot()