File size: 219 Bytes
c1e6490
 
 
 
 
 
1
2
3
4
5
6
import gradio as gr
def question_answer(context, question):
    pass  # Implement your question-answering model here...

gr.Interface(fn=question_answer, inputs=["text", "text"], outputs=["textbox", "text"])
gr.launch()