# app.py
import gradio as gr
# Import style + tabs
from tab.style import custom_css
from tab.tab1to3_unified import get_tab1to3_unified
from tab.tab5_randomness_visualizer import get_tab5_randomness
from tab.tab6_noise_simulation import get_tab6_noise_simulation
# Build UI
with gr.Blocks(css=custom_css) as demo:
# 🔐 Welcome Header & Note
gr.Markdown(
"""
⚠️ Disclaimer: For demonstration & research use only. Not intended for production deployments.
""",
elem_classes="centered-text"
)
gr.Markdown(
"""
🛡️ QuantumCrypt: Quantum-Powered Cybersecurity Suite
"""
)
gr.Markdown("""
Secure your communication with the next generation of cryptography.
Generate quantum-safe keys, protect your messages with advanced encryption,
and decode them seamlessly — all in one intuitive space.
Where quantum principles meet real-world security.
""")
# 🧩 Tabs
get_tab1to3_unified()
get_tab5_randomness()
# Footer
gr.Markdown("Made by Ravi⚡️", elem_classes="centered-text")
# 🚀 Launch the app
if __name__ == "__main__":
demo.launch(share=True)