robertselvam commited on
Commit
eb826d3
·
1 Parent(s): 998c1ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ with gr.Blocks(css="style.css",theme='xiaobaiyuan/theme_land') as demo:
70
  summary_btn.click( extractor._refine_summary,[upload_button],summary)
71
 
72
  ex= HeadingsExtractor()
73
- heading_btn.click(ex.extract_headings,upload_button,heading)
74
 
75
  tags_btn.click(Tags.extract_tags,summary,tags)
76
  key_value_btn.click( KeyValue.extract_key_value_pair,summary,key_value)
 
70
  summary_btn.click( extractor._refine_summary,[upload_button],summary)
71
 
72
  ex= HeadingsExtractor()
73
+ heading_btn.click(ex.extract_text,upload_button,heading)
74
 
75
  tags_btn.click(Tags.extract_tags,summary,tags)
76
  key_value_btn.click( KeyValue.extract_key_value_pair,summary,key_value)