Spaces:
Running
Running
Update interface.py
Browse files- interface.py +3 -2
interface.py
CHANGED
@@ -13,10 +13,11 @@ css_customizado = """
|
|
13 |
.resposta-container { background-color: #ffffff !important; color: #1a1a1a !important; border: 1px solid #e0e0e0 !important; border-radius: 20px !important; padding: 20px !important; margin: 20px 0 !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important; }
|
14 |
.resposta-container pre code { color: #1a1a1a !important; background-color: #f8f9fa !important; }
|
15 |
.pergunta-container { background-color: #f0f8ff !important; border-radius: 8px !important; padding: 15px !important; }
|
16 |
-
.titulo-principal { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; color: white !important; padding:
|
17 |
.modelo-dropdown { margin-bottom: 15px !important; }
|
18 |
.unequal-height.svelte-1xp0cw7 {align-items: normal !important;}
|
19 |
div.svelte-1xp0cw7 {display: grid !important;}
|
|
|
20 |
"""
|
21 |
|
22 |
def criar_interface():
|
@@ -24,7 +25,7 @@ def criar_interface():
|
|
24 |
# Cabeçalho
|
25 |
gr.HTML("""
|
26 |
<div class="titulo-principal">
|
27 |
-
<h1>🤖iAldo</h1>
|
28 |
<p style="font-size: 14px; opacity: 0.9;">Converse com o <a href="https://aldohenrique.com.br/" style="color: white; text-decoration: underline;">Prof. Dr. Aldo Henrique</a></p>
|
29 |
</div>
|
30 |
""")
|
|
|
13 |
.resposta-container { background-color: #ffffff !important; color: #1a1a1a !important; border: 1px solid #e0e0e0 !important; border-radius: 20px !important; padding: 20px !important; margin: 20px 0 !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important; }
|
14 |
.resposta-container pre code { color: #1a1a1a !important; background-color: #f8f9fa !important; }
|
15 |
.pergunta-container { background-color: #f0f8ff !important; border-radius: 8px !important; padding: 15px !important; }
|
16 |
+
.titulo-principal { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important; color: white !important; padding: 00px !important; border-radius: 10px !important; margin-bottom: 2px !important; text-align: center !important; }
|
17 |
.modelo-dropdown { margin-bottom: 15px !important; }
|
18 |
.unequal-height.svelte-1xp0cw7 {align-items: normal !important;}
|
19 |
div.svelte-1xp0cw7 {display: grid !important;}
|
20 |
+
#id {height:33vh}
|
21 |
"""
|
22 |
|
23 |
def criar_interface():
|
|
|
25 |
# Cabeçalho
|
26 |
gr.HTML("""
|
27 |
<div class="titulo-principal">
|
28 |
+
<h1>🤖 iAldo - Pergunte e aprenda</h1>
|
29 |
<p style="font-size: 14px; opacity: 0.9;">Converse com o <a href="https://aldohenrique.com.br/" style="color: white; text-decoration: underline;">Prof. Dr. Aldo Henrique</a></p>
|
30 |
</div>
|
31 |
""")
|