Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
ed72be5
1
Parent(s):
d845de7
Update app.py
Browse files
app.py
CHANGED
@@ -2,5 +2,5 @@ import gradio as gr
|
|
2 |
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
|
6 |
gr.Interface.load("huggingface/spacy/en_core_web_lg",title=title,description=description,article=article,enable_queue=True,examples=examples).launch()
|
|
|
2 |
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\nThat is a very happy person\nToday 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()
|