Spaces:
Sleeping
Sleeping
File size: 795 Bytes
8942ea4 04a56b4 8942ea4 a957608 8942ea4 |
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 |
"""CodeAtlas - AI-Powered Codebase Visualization Tool"""
from src.ui import create_app, CUSTOM_CSS
from src.config import AUDIOS_DIR
import gradio as gr
def main():
"""Launch the CodeAtlas application."""
app, custom_css = create_app()
# Use Soft theme with orange accent
theme = gr.themes.Soft(
primary_hue=gr.themes.colors.orange,
secondary_hue=gr.themes.colors.orange,
neutral_hue=gr.themes.colors.gray,
)
app.launch(
share=False,
server_name="0.0.0.0",
server_port=7860,
mcp_server=True,
theme=theme,
css=custom_css,
allowed_paths=[str(AUDIOS_DIR)],
ssr_mode=False, # Disable experimental SSR to improve responsiveness
)
if __name__ == "__main__":
main()
|