import gradio as gr title = "DPR" description = "Gradio Demo for DPR. To use it, simply add your text, or click one of the examples to load them. Read more at the links below." article = "
" examples = [ ["Hello, is my dog cute ?"] ] gr.Interface.load("huggingface/voidful/dpr-question_encoder-bert-base-multilingual",title=title,description=description,article=article, examples=examples).launch(enable_queue=True)