662e8d9 eb09214 662e8d9
1
2
3
4
5
6
7
8
9
import gradio as gr from qa_pipeline import get_answer as answer_question def qa_interface(question): return answer_question(question) iface = gr.Interface(fn=qa_interface, inputs="text", outputs="text", title="Internal Docs Q&A") iface.launch()