en_core_web_lg / app.py
Ahsen Khaliq
Update app.py
ed72be5
raw
history blame contribute delete
625 Bytes
import gradio as gr
title = "Spacy sentence similarity"
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."
article = "<p style='text-align: center'><a href='https://huggingface.co./spacy/en_core_web_lg' target='_blank'>Huggingface Model</a></p>"
examples=[["That is a happy person","That is a happy dog\nThat is a very happy person\nToday is a sunny day"]]
gr.Interface.load("huggingface/spacy/en_core_web_lg",title=title,description=description,article=article,enable_queue=True,examples=examples).launch()