Spaces:
Sleeping
Sleeping
Update app.py
Browse files15 unmodified lines161718192021318 unmodified lines34034134234334434534634734810 unmodified lines35936036136236336436536636715 unmodified linesalpheios_css = """<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/alpheios-components@latest/dist/style/style-components.min.css"/>"""custom_table_css = """.thead th { font-size: 18px !important; font-weight: bold !important; }.tbody td { font-size: 17px !important; }318 unmodified linesgr.Markdown("# Estação Filológica DDGP & OdyCy")gr.Markdown("## DDGP Plus: Análise lexical e consulta ao Dicionário Digital Grego-Português.")with gr.Tab("📝 Análise lexical"):txt = gr.Textbox(label="Texto em Grego Antigo", lines=6, placeholder="Insira o texto aqui sem aspas...Δειναὶ γὰρ αἱ γυναῖκες εὑρίσκειν τέχνας.")btn = gr.Button("🚀 Executar Análise", variant="primary")with gr.Row():t1 = gr.Label(label="Tokens (Total)")10 unmodified linesgr.Markdown("### 📖 Léxico Contextual")out_l = gr.HTML()with gr.Tab("🔍 Busca direta no DDGP"):in_b = gr.Textbox(label="Busca direta no DDGP", placeholder="(ex. λόγος, logos)")btn_b = gr.Button("Consultar Base")out_b = gr.HTML()gr.Markdown(f"""15 unmodified lines161718192021222324252627318 unmodified lines34634734834935035135235335410 unmodified lines36536636736836937037137237315 unmodified linesalpheios_css = """<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/alpheios-components@latest/dist/style/style-components.min.css"/>"""css = """.tab-grande { font-size: 20px !important; }.text-grande textarea { font-size: 18px !important; }.text-grande label { font-size: 20px !important; }.btn-grande { font-size: 20px !important; height: 60px !important; }"""custom_table_css = """.thead th { font-size: 18px !important; font-weight: bold !important; }.tbody td { font-size: 17px !important; }318 unmodified linesgr.Markdown("# Estação Filológica DDGP & OdyCy")gr.Markdown("## DDGP Plus: Análise lexical e consulta ao Dicionário Digital Grego-Português.")with gr.Tab("📝 Análise lexical", elem_classes="tab-grande"):txt = gr.Textbox(label="Texto em Grego Antigo", lines=6, placeholder="Insira o texto aqui sem aspas...Δειναὶ γὰρ αἱ γυναῖκες εὑρίσκειν τέχνας.", elem_classes="text-grande")btn = gr.Button("🚀 Executar Análise", elem_classes="btn-grande", variant="primary")with gr.Row():t1 = gr.Label(label="Tokens (Total)")10 unmodified linesgr.Markdown("### 📖 Léxico Contextual")out_l = gr.HTML()with gr.Tab("🔍 Busca direta no DDGP", elem_classes="tab-grande"):in_b = gr.Textbox(label="Busca direta no DDGP", placeholder="(ex. λόγος, logos)", elem_classes="text-grande")btn_b = gr.Button("Consultar Base",elem_classes="btn-grande")out_b = gr.HTML()gr.Markdown(f"""
app.py+12-6