Spaces:
Running
Running
Add DE description.
Browse files- app.py +2 -1
- description.py +4 -2
app.py
CHANGED
@@ -60,8 +60,8 @@ with gr.Blocks(css="#htext span {white-space: pre-line}") as demo:
|
|
60 |
outputs=[ctrlsum_url, ctrlsum_file_length, ctrlsum_file_keywords, ctrlsum_file])
|
61 |
# Reference String Parsing
|
62 |
with gr.TabItem("Reference String Parsing"):
|
|
|
63 |
with gr.Box():
|
64 |
-
gr.Markdown(rsp_title_md)
|
65 |
gr.Markdown(rsp_str_md)
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
@@ -114,6 +114,7 @@ with gr.Blocks(css="#htext span {white-space: pre-line}") as demo:
|
|
114 |
|
115 |
# Dataset Extraction
|
116 |
with gr.TabItem("Dataset Mentions Extraction"):
|
|
|
117 |
with gr.Box():
|
118 |
gr.Markdown(de_str_md)
|
119 |
with gr.Row():
|
|
|
60 |
outputs=[ctrlsum_url, ctrlsum_file_length, ctrlsum_file_keywords, ctrlsum_file])
|
61 |
# Reference String Parsing
|
62 |
with gr.TabItem("Reference String Parsing"):
|
63 |
+
gr.Markdown(rsp_title_md)
|
64 |
with gr.Box():
|
|
|
65 |
gr.Markdown(rsp_str_md)
|
66 |
with gr.Row():
|
67 |
with gr.Column():
|
|
|
114 |
|
115 |
# Dataset Extraction
|
116 |
with gr.TabItem("Dataset Mentions Extraction"):
|
117 |
+
gr.Markdown(de_title_md)
|
118 |
with gr.Box():
|
119 |
gr.Markdown(de_str_md)
|
120 |
with gr.Row():
|
description.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# Reference string parsing Markdown
|
2 |
rsp_title_md = '''
|
3 |
-
## Our Reference String Parsing tool
|
4 |
'''
|
5 |
|
6 |
rsp_str_md = '''
|
@@ -58,7 +58,9 @@ To **test on a file**, the input can be:
|
|
58 |
|
59 |
'''
|
60 |
|
61 |
-
|
|
|
|
|
62 |
|
63 |
de_str_md = '''
|
64 |
To **test on strings**, please input your sentences or paragraphs.
|
|
|
1 |
# Reference string parsing Markdown
|
2 |
rsp_title_md = '''
|
3 |
+
## Our Reference String Parsing tool parses a structured citation string, extracting information as the title, authors, and publication date.
|
4 |
'''
|
5 |
|
6 |
rsp_str_md = '''
|
|
|
58 |
|
59 |
'''
|
60 |
|
61 |
+
de_title_md = '''
|
62 |
+
## Our Dataset Extraction tool extracts elements from the text that captures the key details of it.
|
63 |
+
'''
|
64 |
|
65 |
de_str_md = '''
|
66 |
To **test on strings**, please input your sentences or paragraphs.
|