Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
d845de7
1
Parent(s):
04e63d0
Update app.py
Browse files
app.py
CHANGED
@@ -3,4 +3,4 @@ title = "Spacy sentence similarity"
|
|
3 |
description = "Gradio Demo for sentence similarity with spaCy. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spacy/en_core_web_lg' target='_blank'>Huggingface Model</a></p>"
|
5 |
examples=[["That is a happy person","That is a happy dog \n That is a very happy person \n Today is a sunny day"]]
|
6 |
-
gr.Interface.load("huggingface/spacy/en_core_web_lg",title=title,description=description,article=article,enable_queue=True).launch()
|
|
|
3 |
description = "Gradio Demo for sentence similarity with spaCy. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spacy/en_core_web_lg' target='_blank'>Huggingface Model</a></p>"
|
5 |
examples=[["That is a happy person","That is a happy dog \n That is a very happy person \n Today is a sunny day"]]
|
6 |
+
gr.Interface.load("huggingface/spacy/en_core_web_lg",title=title,description=description,article=article,enable_queue=True,examples=examples).launch()
|