Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ function() {
|
|
| 29 |
.then(embedLib => {
|
| 30 |
const alpheios = embedLib.AlpheiosEmbedded.ImportLib();
|
| 31 |
alpheios.activate({
|
| 32 |
-
clientId: 'ddgp-plus-
|
| 33 |
authStatus: 'notLoggedIn'
|
| 34 |
});
|
| 35 |
console.log("Alpheios Ativado com Sucesso!");
|
|
@@ -44,6 +44,14 @@ function() {
|
|
| 44 |
}
|
| 45 |
"""
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
# --- 1. INSTALAÇÃO E CARREGAMENTO ---
|
| 49 |
def install_odycy():
|
|
@@ -96,23 +104,23 @@ css_content += """
|
|
| 96 |
textarea {
|
| 97 |
font-size: 20px !important;
|
| 98 |
line-height: 1.6 !important;
|
| 99 |
-
font-family: 'Gentium Plus', '
|
| 100 |
}
|
| 101 |
|
| 102 |
/* Aumenta a fonte das tabelas de análise */
|
| 103 |
table, th, td {
|
| 104 |
-
font-size:
|
| 105 |
}
|
| 106 |
|
| 107 |
/* Ajusta especificamente o texto dentro das células da tabela */
|
| 108 |
.gr-table td {
|
| 109 |
-
font-size:
|
| 110 |
padding: 10px !important;
|
| 111 |
}
|
| 112 |
|
| 113 |
/* Se houver componentes de Markdown/HTML com grego */
|
| 114 |
.prose {
|
| 115 |
-
font-size:
|
| 116 |
}
|
| 117 |
"""
|
| 118 |
|
|
|
|
| 29 |
.then(embedLib => {
|
| 30 |
const alpheios = embedLib.AlpheiosEmbedded.ImportLib();
|
| 31 |
alpheios.activate({
|
| 32 |
+
clientId: 'httpshuggingfacecospacesAniseFpln-ddgp-plus-teste',
|
| 33 |
authStatus: 'notLoggedIn'
|
| 34 |
});
|
| 35 |
console.log("Alpheios Ativado com Sucesso!");
|
|
|
|
| 44 |
}
|
| 45 |
"""
|
| 46 |
|
| 47 |
+
<div class="alpheios-enabled" lang="lat">
|
| 48 |
+
<p>Arma virumque cano, Troiae qui primus ab oris</p>
|
| 49 |
+
<p>Italiam, fato profugus, Laviniaque venit</p>
|
| 50 |
+
<p>litora, multum ille et terris iactatus et alto</p>
|
| 51 |
+
<p>vi superum saevae memorem Iunonis ob iram;</p>
|
| 52 |
+
</div>
|
| 53 |
+
|
| 54 |
+
|
| 55 |
|
| 56 |
# --- 1. INSTALAÇÃO E CARREGAMENTO ---
|
| 57 |
def install_odycy():
|
|
|
|
| 104 |
textarea {
|
| 105 |
font-size: 20px !important;
|
| 106 |
line-height: 1.6 !important;
|
| 107 |
+
font-family: 'Gentium Plus', 'Alegreya', serif !important;
|
| 108 |
}
|
| 109 |
|
| 110 |
/* Aumenta a fonte das tabelas de análise */
|
| 111 |
table, th, td {
|
| 112 |
+
font-size: 20px !important;
|
| 113 |
}
|
| 114 |
|
| 115 |
/* Ajusta especificamente o texto dentro das células da tabela */
|
| 116 |
.gr-table td {
|
| 117 |
+
font-size: 20px !important;
|
| 118 |
padding: 10px !important;
|
| 119 |
}
|
| 120 |
|
| 121 |
/* Se houver componentes de Markdown/HTML com grego */
|
| 122 |
.prose {
|
| 123 |
+
font-size: 20px !important;
|
| 124 |
}
|
| 125 |
"""
|
| 126 |
|