Update app.py
Browse files
app.py
CHANGED
@@ -57,6 +57,7 @@ with demo:
|
|
57 |
gr.Markdown("# <p align='center'>Multilingual Aspect-based Sentiment Analysis !</p>")
|
58 |
gr.Markdown("""### Repo: [PyABSA](https://github.com/yangheng95/PyABSA)
|
59 |
### Author: [Heng Yang](https://github.com/yangheng95) (杨恒)
|
|
|
60 |
[](https://pepy.tech/project/pyabsa)
|
61 |
[](https://pepy.tech/project/pyabsa)
|
62 |
"""
|
@@ -67,7 +68,7 @@ with demo:
|
|
67 |
with gr.Row():
|
68 |
with gr.Column():
|
69 |
input_sentence = gr.Textbox(placeholder='Leave this box blank and choose a dataset will give you a random example...', label="Example:")
|
70 |
-
gr.Markdown("You can find the datasets at [github.com/yangheng95/ABSADatasets](https://github.com/yangheng95/ABSADatasets/tree/v1.2
|
71 |
dataset_ids = gr.Radio(choices=[dataset.name for dataset in ABSADatasetList()[:-1]], value='Laptop14', label="Datasets")
|
72 |
inference_button = gr.Button("Let's go!")
|
73 |
gr.Markdown("There is a [demo](https://huggingface.co/spaces/yangheng/PyABSA-ATEPC-Chinese) specialized for the Chinese langauge")
|
|
|
57 |
gr.Markdown("# <p align='center'>Multilingual Aspect-based Sentiment Analysis !</p>")
|
58 |
gr.Markdown("""### Repo: [PyABSA](https://github.com/yangheng95/PyABSA)
|
59 |
### Author: [Heng Yang](https://github.com/yangheng95) (杨恒)
|
60 |
+
## This demo is based on v.1.16.27, while the latest release is [v2.X](https://github.com/yangheng95/PyABSA)
|
61 |
[](https://pepy.tech/project/pyabsa)
|
62 |
[](https://pepy.tech/project/pyabsa)
|
63 |
"""
|
|
|
68 |
with gr.Row():
|
69 |
with gr.Column():
|
70 |
input_sentence = gr.Textbox(placeholder='Leave this box blank and choose a dataset will give you a random example...', label="Example:")
|
71 |
+
gr.Markdown("You can find the datasets at [github.com/yangheng95/ABSADatasets](https://github.com/yangheng95/ABSADatasets/tree/v1.2)")
|
72 |
dataset_ids = gr.Radio(choices=[dataset.name for dataset in ABSADatasetList()[:-1]], value='Laptop14', label="Datasets")
|
73 |
inference_button = gr.Button("Let's go!")
|
74 |
gr.Markdown("There is a [demo](https://huggingface.co/spaces/yangheng/PyABSA-ATEPC-Chinese) specialized for the Chinese langauge")
|