Interface_API / app.py
Nadiveedishravanreddy's picture
Rename fill-mask.py to app.py
5c766cc
raw
history blame contribute delete
161 Bytes
import gradio as gr
from transformers import pipeline
unmasker = pipeline("fill-mask")
unmasker("This course will teach you all about <mask> models.", top_k=2)