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