robertselvam commited on
Commit
4f70ac9
1 Parent(s): 0b4e109

Update headings_extractor.py

Browse files
Files changed (1) hide show
  1. headings_extractor.py +2 -2
headings_extractor.py CHANGED
@@ -96,5 +96,5 @@ class HeadingsExtractor:
96
  with gr.Row(elem_id = "col-container",scale=0.60):
97
  headings = gr.Textbox(label = "Headings")
98
 
99
- upload_button1.upload(file_output_fnn,upload_button1,file1)
100
- headings_btn.click(extract_text,upload_button1,headings)
 
96
  with gr.Row(elem_id = "col-container",scale=0.60):
97
  headings = gr.Textbox(label = "Headings")
98
 
99
+ upload_button1.upload(self.file_output_fnn,upload_button1,file1)
100
+ headings_btn.click(self.extract_text,upload_button1,headings)