CeshiDemo / app.py
zxcgqq's picture
Update app.py
5f28b50
raw
history blame
203 Bytes
# 导入gradio
import gradio as gr
# 通过Interface加载pipeline并启动服务
gr.Interface.from_pipeline(pipeline("question-answering", model="uer/roberta-base-finetuned-dianping-chinese")).launch()