import gradio as gr # from transformers import BertForQuestionAnswering # model = BertForQuestionAnswering.from_pretrained("bert-base-uncased") def greet(name): return "Hello " + name + "!!" iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch()