Spaces:
Sleeping
Sleeping
| from __future__ import annotations | |
| import gradio as gr | |
| from fraudlens_app.main_app import build_interface as build_main_interface | |
| from mcp_servers.vision_forensics.server import ( | |
| build_vision_forensics_interface, | |
| ) | |
| from mcp_servers.fraud_intelligence.server import ( | |
| build_fraud_intel_interface, | |
| ) | |
| with gr.Blocks(title="FraudLens AI - MCP Demo") as app: | |
| gr.Markdown("# FraudLens AI – Multimodal Fraud Detection Agent") | |
| gr.Markdown( | |
| "Unified demo Space exposing the main FraudLens agent and two custom " | |
| "MCP-style servers (Vision Forensics and Fraud Intelligence)." | |
| ) | |
| with gr.Tab("FraudLens Agent"): | |
| # Embed the main app layout inside this tab | |
| main_iface = build_main_interface() | |
| with gr.Tab("Vision Forensics MCP"): | |
| vision_iface = build_vision_forensics_interface() | |
| with gr.Tab("Fraud Intelligence MCP"): | |
| intel_iface = build_fraud_intel_interface() | |
| if __name__ == "__main__": | |
| app.launch() | |