Spaces:
Sleeping
Sleeping
robertselvam
commited on
Commit
·
d5ca623
1
Parent(s):
f121a7d
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(css="style.css",theme='xiaobaiyuan/theme_brief') as demo:
|
|
105 |
extractor = Extractor()
|
106 |
|
107 |
upload_button.upload(file_output_fn,upload_button,file_output)
|
108 |
-
summary_btn.
|
109 |
|
110 |
tags_btn.click(Tags.extract_tags,summary,tags)
|
111 |
key_value_btn.click( KeyValue.extract_key_value_pair,summary,key_value)
|
|
|
105 |
extractor = Extractor()
|
106 |
|
107 |
upload_button.upload(file_output_fn,upload_button,file_output)
|
108 |
+
summary_btn.click( extractor._refine_summary,[upload_button],summary)
|
109 |
|
110 |
tags_btn.click(Tags.extract_tags,summary,tags)
|
111 |
key_value_btn.click( KeyValue.extract_key_value_pair,summary,key_value)
|