youngtsai commited on
Commit
1b79c0f
·
1 Parent(s): dca6921

btn_create_question.click(generate_questions, inputs = [df_string_output], outputs = [btn_1, btn_2, btn_3])

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -590,7 +590,7 @@ with gr.Blocks() as demo:
590
  btn_2.click(respond, inputs=[btn_2, df_string_output, chatbot], outputs=[msg, chatbot])
591
  btn_3.click(respond, inputs=[btn_3, df_string_output, chatbot], outputs=[msg, chatbot])
592
 
593
- btn_create_question.click(generate_questions, inputs = [TRANSCRIPTS], outputs = [btn_1, btn_2, btn_3])
594
 
595
  # file_upload.change(process_file, inputs=file_upload, outputs=df_string_output)
596
  file_upload.change(process_file, inputs=file_upload, outputs=[btn_1, btn_2, btn_3, df_summarise, df_string_output])
 
590
  btn_2.click(respond, inputs=[btn_2, df_string_output, chatbot], outputs=[msg, chatbot])
591
  btn_3.click(respond, inputs=[btn_3, df_string_output, chatbot], outputs=[msg, chatbot])
592
 
593
+ btn_create_question.click(generate_questions, inputs = [df_string_output], outputs = [btn_1, btn_2, btn_3])
594
 
595
  # file_upload.change(process_file, inputs=file_upload, outputs=df_string_output)
596
  file_upload.change(process_file, inputs=file_upload, outputs=[btn_1, btn_2, btn_3, df_summarise, df_string_output])