AI_Tutor_BERT / app.py
CountingMstar's picture
Update app.py
d21ef6a
raw
history blame
272 Bytes
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()