Spaces:
Running
Running
robertselvam
commited on
Commit
•
1bf7aef
1
Parent(s):
f11a7c8
Update app.py
Browse files
app.py
CHANGED
@@ -60,12 +60,12 @@ with gr.Blocks(css="style.css",theme='xiaobaiyuan/theme_brief') as demo:
|
|
60 |
key_value_btn.click( KeyValue.extract_key_value_pair,summary,key_value)
|
61 |
clauses_btn.click(Clauses.get_extracted_clauses,summary,clauses)
|
62 |
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
# with gr.Row(elem_id = "col-container",scale=0.80):
|
70 |
# with gr.Column(elem_id = "col-container",scale=0.80):
|
71 |
# file = gr.File(label="File",elem_classes="filenameshow")
|
|
|
60 |
key_value_btn.click( KeyValue.extract_key_value_pair,summary,key_value)
|
61 |
clauses_btn.click(Clauses.get_extracted_clauses,summary,clauses)
|
62 |
|
63 |
+
with gr.TabItem("pdf"):
|
64 |
+
ex= HeadingsExtractor()
|
65 |
+
ex.gradio_interface()
|
66 |
+
with gr.TabItem("Incorrect_Sentence"):
|
67 |
+
inf= IncorrectSentenceFinder()
|
68 |
+
inf.gradio_interface()
|
69 |
# with gr.Row(elem_id = "col-container",scale=0.80):
|
70 |
# with gr.Column(elem_id = "col-container",scale=0.80):
|
71 |
# file = gr.File(label="File",elem_classes="filenameshow")
|