
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
아래 코드를 입력해서 My name is Rang and I live in Seoul.을 넣었는데 submit 버튼을 클릭해도 result에 아무것도 뜨지 않습니다.

from transformers import pipeline
ner = pipeline("ner", grouped_entities=True)
def extract_entities(text):
result = ner(text)
import gradio as gr
interface=gr.Interface(
fn=extract_entities,
inputs=gr.Textbox(label="Text for NER"),
outputs=gr.Textbox(label="result")
)
interface.launch()
