Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -208,7 +208,7 @@ def analisar_texto(texto):
|
|
| 208 |
|
| 209 |
# --- 4. INTERFACE ---
|
| 210 |
# Modifique esta linha para incluir head e js:
|
| 211 |
-
with gr.Blocks(
|
| 212 |
with gr.Row():
|
| 213 |
with gr.Column(scale=1, min_width=100):
|
| 214 |
gr.HTML("""
|
|
@@ -277,5 +277,14 @@ with gr.Blocks(css=css_content, head=alpheios_css, js=alpheios_js, title="DDGP +
|
|
| 277 |
inputs=txt,
|
| 278 |
outputs=[out_t, out_f, t1, t2, t3, t4, t5, out_l]
|
| 279 |
)
|
| 280 |
-
|
| 281 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
|
| 209 |
# --- 4. INTERFACE ---
|
| 210 |
# Modifique esta linha para incluir head e js:
|
| 211 |
+
with gr.Blocks(title="DDGP + OdyCy") as demo:
|
| 212 |
with gr.Row():
|
| 213 |
with gr.Column(scale=1, min_width=100):
|
| 214 |
gr.HTML("""
|
|
|
|
| 277 |
inputs=txt,
|
| 278 |
outputs=[out_t, out_f, t1, t2, t3, t4, t5, out_l]
|
| 279 |
)
|
| 280 |
+
|
| 281 |
+
# Combine os estilos (opcional, mas recomendado para manter seu layout)
|
| 282 |
+
full_css = css_content + "\n" + alpheios_css
|
| 283 |
+
|
| 284 |
+
# Chame o launch assim:
|
| 285 |
+
demo.launch(
|
| 286 |
+
css=full_css,
|
| 287 |
+
head=alpheios_css, # O Alpheios precisa do link no head
|
| 288 |
+
js=alpheios_js
|
| 289 |
+
)
|
| 290 |
+
|