Spaces:
Paused
Paused
File size: 272 Bytes
e15f1e0 1c8cf8d d21ef6a e15f1e0 |
1 2 3 4 5 6 7 8 9 10 |
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() |