import gradio as gr from crew import run_crew def process_query(user_input): return run_crew(user_input) iface = gr.Interface( fn=process_query, inputs=gr.Textbox(label="Enter GitHub repo URL for analysis"), outputs=gr.Textbox(label="Analysis report"), title="🎶 Distributed Mistral Orchestra", description="Analyze a GitHub repo using a multi-agent AI team powered by Mistral models on Modal." ) if __name__ == "__main__": iface.launch(mcp_server=True)