Spaces:
Running
Running
File size: 1,324 Bytes
aad860c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | import gradio as gr
# Cache AI - Hugging Face Space
# System font stack for natural appearance across platforms
# macOS: SF Pro, Windows: Segoe UI, Linux: Noto Sans
css = """
* {
font-family: -apple-system, BlinkMacSystemFont,
"Segoe UI", "Helvetica Neue",
Arial, "Noto Sans", sans-serif !important;
}
/* Preserve monospace for code */
code, pre, kbd, samp {
font-family: Monaco, 'Courier New', Courier, monospace !important;
}
/* CacheAI brand colors */
h1, h2, h3, h4, h5, h6, a {
color: #1F3E97 !important;
}
"""
with gr.Blocks(
title="Cache AI",
theme=gr.themes.Soft(),
css=css
) as app:
gr.Markdown("# Cache AI")
gr.Markdown("""
**Cache AI** provides:
- A Python API (available on PyPI)
- A Web API (OpenAI-compatible)
Due to per-user API key issuance, this Space focuses on explaining behavior and usage,
not full production execution.
""")
gr.Markdown("## Coming Soon")
gr.Markdown("Demo and documentation will be added shortly.")
gr.Markdown("## Links")
gr.Markdown("""
- [PyPI](https://pypi.org/project/cacheai/)
- [GitHub](https://github.com/cacheaitechnologies/cacheai)
- [Website](https://www.cacheaitechnologies.com/)
""")
if __name__ == "__main__":
app.launch()
|