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

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