Spaces:
Running
Running
File size: 712 Bytes
ffae8c1 ae61b6d ffae8c1 860bc4d ffae8c1 1bc6f72 ffae8c1 2025d11 ae61b6d ffae8c1 1ac6e82 ffae8c1 1ac6e82 1bc6f72 4139899 ae61b6d ffae8c1 | 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 | """Single Hugging Face Spaces entry point for the multipage Gradio app."""
import gradio as gr
from pages.converter import build_converter_page
from pages.live_editor import build_live_editor_page
from pages.template_tool import build_template_page
from ui.theme import APP_CSS, studio_theme
with gr.Blocks(title="md / ppt") as iface:
build_converter_page()
with iface.route("PowerPoint 模板工具", "/template", show_in_navbar=False):
build_template_page()
with iface.route("即時 Markdown 編輯", "/live", show_in_navbar=False):
build_live_editor_page()
if __name__ == "__main__":
iface.launch(
theme=studio_theme,
css=APP_CSS,
allowed_paths=["/tmp"],
)
|