Commit
·
2542659
1
Parent(s):
4f8563f
Updated demo text
Browse files
app.py
CHANGED
@@ -79,10 +79,10 @@ if __name__ == "__main__":
|
|
79 |
image = gr.Image("https://drive.usercontent.google.com/download?id=1nRCfIFpXwNh5HASfue0r9WPAnUSM18_a")
|
80 |
gr.Markdown(
|
81 |
"This is the demo of \"A virtual Catalan grandparent\", a project built as part of a Natural Language Processing course.\n\n"
|
82 |
-
"You can write anything and you
|
83 |
"> The application is based on a pre-trained transformer model, " +
|
84 |
"[projecte-aina/roberta-base-ca-v2](https://huggingface.co/projecte-aina/roberta-base-ca-v2) " +
|
85 |
-
"and uses normalized L2 distance between
|
86 |
"available [here](https://huggingface.co/datasets/pauhmolins/catalan-proverbs).\n\n"
|
87 |
)
|
88 |
with gr.Column(scale=2):
|
|
|
79 |
image = gr.Image("https://drive.usercontent.google.com/download?id=1nRCfIFpXwNh5HASfue0r9WPAnUSM18_a")
|
80 |
gr.Markdown(
|
81 |
"This is the demo of \"A virtual Catalan grandparent\", a project built as part of a Natural Language Processing course.\n\n"
|
82 |
+
"You can write anything and you should get a somewhat fitting proverb as a response! :)\n\n"
|
83 |
"> The application is based on a pre-trained transformer model, " +
|
84 |
"[projecte-aina/roberta-base-ca-v2](https://huggingface.co/projecte-aina/roberta-base-ca-v2) " +
|
85 |
+
"and uses normalized L2 distance between embeddings to select the most appropriate proverb in the database, " +
|
86 |
"available [here](https://huggingface.co/datasets/pauhmolins/catalan-proverbs).\n\n"
|
87 |
)
|
88 |
with gr.Column(scale=2):
|