Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
zxcgqq
/
CeshiDemo
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
5f28b50
CeshiDemo
/
app.py
zxcgqq
Update app.py
5f28b50
about 2 years ago
raw
Copy download link
history
blame
Safe
203 Bytes
# 导入gradio
import
gradio
as
gr
# 通过Interface加载pipeline并启动服务
gr.Interface.from_pipeline(pipeline(
"question-answering"
, model=
"uer/roberta-base-finetuned-dianping-chinese"
)).launch()