Spaces:
Runtime error
Runtime error
| 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() |