File size: 414 Bytes
14d8355
250f280
14d8355
 
250f280
76a093c
14d8355
250f280
eb850e0
e6dc896
eb850e0
14d8355
 
248aab3
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import gradio as gr
from rag_pipeline import run_qa_pipeline

iface = gr.Interface(
    fn=run_qa_pipeline,
    inputs=gr.Textbox(label="Deine Frage zu Catan"),
    outputs="text",
    title="🎲 Catan Regel-Experte",
    description="Beantworte Fragen zu den Catan-Regeln basierend auf semantischer Suche.",
    allow_flagging="never",
    show_share_button=False
)

if __name__ == "__main__":
    iface.launch()