Upload index.html with huggingface_hub
Browse files- index.html +18 -27
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Zavala Cubas ·
|
| 7 |
<link rel="icon" href="https://www.google.com/s2/favicons?domain=zavalacubas.com&sz=128">
|
| 8 |
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 9 |
<style>
|
|
@@ -18,7 +18,7 @@
|
|
| 18 |
}
|
| 19 |
* { box-sizing: border-box; }
|
| 20 |
body {
|
| 21 |
-
margin: 0; padding:
|
| 22 |
font-family: "Space Grotesk", system-ui, sans-serif;
|
| 23 |
background-color: var(--bbf-ink-900);
|
| 24 |
background-image:
|
|
@@ -27,16 +27,16 @@
|
|
| 27 |
color: var(--bbf-mint-100); min-height: 100vh;
|
| 28 |
}
|
| 29 |
.shell {
|
| 30 |
-
max-width:
|
| 31 |
background-color: oklch(0 0 0 / 0.84);
|
| 32 |
border: 1px solid var(--bbf-sea-700);
|
| 33 |
-
border-radius: 20px; padding:
|
| 34 |
box-shadow: 0 24px 60px oklch(0 0 0);
|
| 35 |
}
|
| 36 |
.topbar {
|
| 37 |
display: flex; align-items: center; justify-content: space-between;
|
| 38 |
border-bottom: 1px solid var(--bbf-deep-800);
|
| 39 |
-
padding-bottom: 18px; margin-bottom:
|
| 40 |
}
|
| 41 |
.brand { display: flex; align-items: center; gap: 12px; }
|
| 42 |
.brand img {
|
|
@@ -50,8 +50,8 @@
|
|
| 50 |
border: 1px solid var(--bbf-accent-400); color: var(--bbf-mint-100);
|
| 51 |
font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600;
|
| 52 |
}
|
| 53 |
-
h1 { font-size: 1.6rem; margin: 0 0 8px 0; font-weight: 700; }
|
| 54 |
-
.subtitle { color: var(--bbf-mint-300); margin: 0 0
|
| 55 |
code {
|
| 56 |
background: var(--bbf-deep-800); color: var(--bbf-mint-100);
|
| 57 |
padding: 2px 7px; border-radius: 5px; border: 1px solid var(--bbf-sea-700);
|
|
@@ -59,7 +59,7 @@
|
|
| 59 |
.status-banner {
|
| 60 |
background: var(--bbf-ink-900); border: 1px solid var(--bbf-sea-700);
|
| 61 |
border-left: 3px solid var(--bbf-accent-400);
|
| 62 |
-
padding:
|
| 63 |
}
|
| 64 |
.dot {
|
| 65 |
display: inline-block; width: 8px; height: 8px;
|
|
@@ -67,7 +67,7 @@
|
|
| 67 |
}
|
| 68 |
.quest-box {
|
| 69 |
background: var(--bbf-ink-900); border: 1px solid var(--bbf-deep-800);
|
| 70 |
-
border-radius: 12px; padding: 18px; margin:
|
| 71 |
}
|
| 72 |
.quest-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
|
| 73 |
.quest-count { font-weight: 700; color: var(--bbf-accent-400); }
|
|
@@ -84,17 +84,12 @@
|
|
| 84 |
.btn-action {
|
| 85 |
font-family: "Space Grotesk", sans-serif; background: var(--bbf-ink-900);
|
| 86 |
color: var(--bbf-mint-100); border: 1px solid var(--bbf-accent-400);
|
| 87 |
-
padding:
|
| 88 |
-
cursor: pointer; text-decoration: none;
|
| 89 |
}
|
| 90 |
-
.
|
| 91 |
-
margin-top: 22px; padding: 12px;
|
| 92 |
-
background-image: linear-gradient(135deg, var(--bbf-deep-800), var(--bbf-ink-900), var(--bbf-sea-700));
|
| 93 |
-
border: 1px solid var(--bbf-accent-400); border-radius: 14px;
|
| 94 |
-
}
|
| 95 |
-
.cert-frame img { width: 100%; border-radius: 8px; display: block; border: 1px solid var(--bbf-mint-100); }
|
| 96 |
.footer-bar {
|
| 97 |
-
margin-top:
|
| 98 |
display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
|
| 99 |
}
|
| 100 |
</style>
|
|
@@ -109,16 +104,16 @@
|
|
| 109 |
<div class="brand-domain">zavalacubas.com</div>
|
| 110 |
</div>
|
| 111 |
</div>
|
| 112 |
-
<div class="pill">
|
| 113 |
</div>
|
| 114 |
|
| 115 |
-
<h1>⚡
|
| 116 |
<p class="subtitle">Orquestación con <code>smolagents</code> + <code>Gradio 6.0</code> + <code>Ollama (qwen2:7b)</code> · Custom <code>@tools</code></p>
|
| 117 |
|
| 118 |
<div class="status-banner">
|
| 119 |
<div><span class="dot"></span><b>Estado del Agente:</b> Corriendo en local sobre MacBook Pro (<code>localhost:11434</code> · 0.00€).</div>
|
| 120 |
-
<div style="margin-top:
|
| 121 |
-
<i>Aquí en la nube ves el escaparate porque
|
| 122 |
</div>
|
| 123 |
</div>
|
| 124 |
|
|
@@ -134,13 +129,9 @@
|
|
| 134 |
</div>
|
| 135 |
</div>
|
| 136 |
|
| 137 |
-
<div class="cert-frame">
|
| 138 |
-
<img src="https://cdn-uploads.huggingface.co/production/uploads/noauth/RHStg8U9ec2p43SxPzPq3.webp" alt="Certificate - Zavala Cubas">
|
| 139 |
-
</div>
|
| 140 |
-
|
| 141 |
<div class="footer-bar">
|
| 142 |
<a class="btn-action" href="https://huggingface.co/spaces/ZavalaCubas/First_agent_template/tree/main" target="_blank">📂 Ver código en Files (app.py) →</a>
|
| 143 |
-
<a class="btn-action" href="https://zavalacubas.com" target="_blank">zavalacubas.com ↗</a>
|
| 144 |
</div>
|
| 145 |
</div>
|
| 146 |
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Zavala Cubas · CodeAgent</title>
|
| 7 |
<link rel="icon" href="https://www.google.com/s2/favicons?domain=zavalacubas.com&sz=128">
|
| 8 |
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 9 |
<style>
|
|
|
|
| 18 |
}
|
| 19 |
* { box-sizing: border-box; }
|
| 20 |
body {
|
| 21 |
+
margin: 0; padding: 48px 20px;
|
| 22 |
font-family: "Space Grotesk", system-ui, sans-serif;
|
| 23 |
background-color: var(--bbf-ink-900);
|
| 24 |
background-image:
|
|
|
|
| 27 |
color: var(--bbf-mint-100); min-height: 100vh;
|
| 28 |
}
|
| 29 |
.shell {
|
| 30 |
+
max-width: 720px; margin: 0 auto;
|
| 31 |
background-color: oklch(0 0 0 / 0.84);
|
| 32 |
border: 1px solid var(--bbf-sea-700);
|
| 33 |
+
border-radius: 20px; padding: 36px 32px;
|
| 34 |
box-shadow: 0 24px 60px oklch(0 0 0);
|
| 35 |
}
|
| 36 |
.topbar {
|
| 37 |
display: flex; align-items: center; justify-content: space-between;
|
| 38 |
border-bottom: 1px solid var(--bbf-deep-800);
|
| 39 |
+
padding-bottom: 18px; margin-bottom: 26px; flex-wrap: wrap; gap: 12px;
|
| 40 |
}
|
| 41 |
.brand { display: flex; align-items: center; gap: 12px; }
|
| 42 |
.brand img {
|
|
|
|
| 50 |
border: 1px solid var(--bbf-accent-400); color: var(--bbf-mint-100);
|
| 51 |
font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600;
|
| 52 |
}
|
| 53 |
+
h1 { font-size: 1.6rem; margin: 0 0 8px 0; font-weight: 700; letter-spacing: -0.3px; }
|
| 54 |
+
.subtitle { color: var(--bbf-mint-300); margin: 0 0 22px 0; font-size: 0.94rem; }
|
| 55 |
code {
|
| 56 |
background: var(--bbf-deep-800); color: var(--bbf-mint-100);
|
| 57 |
padding: 2px 7px; border-radius: 5px; border: 1px solid var(--bbf-sea-700);
|
|
|
|
| 59 |
.status-banner {
|
| 60 |
background: var(--bbf-ink-900); border: 1px solid var(--bbf-sea-700);
|
| 61 |
border-left: 3px solid var(--bbf-accent-400);
|
| 62 |
+
padding: 16px 18px; border-radius: 10px; margin: 20px 0; font-size: 0.9rem;
|
| 63 |
}
|
| 64 |
.dot {
|
| 65 |
display: inline-block; width: 8px; height: 8px;
|
|
|
|
| 67 |
}
|
| 68 |
.quest-box {
|
| 69 |
background: var(--bbf-ink-900); border: 1px solid var(--bbf-deep-800);
|
| 70 |
+
border-radius: 12px; padding: 18px; margin: 22px 0;
|
| 71 |
}
|
| 72 |
.quest-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
|
| 73 |
.quest-count { font-weight: 700; color: var(--bbf-accent-400); }
|
|
|
|
| 84 |
.btn-action {
|
| 85 |
font-family: "Space Grotesk", sans-serif; background: var(--bbf-ink-900);
|
| 86 |
color: var(--bbf-mint-100); border: 1px solid var(--bbf-accent-400);
|
| 87 |
+
padding: 8px 14px; border-radius: 8px; font-size: 0.8rem; font-weight: 600;
|
| 88 |
+
cursor: pointer; text-decoration: none; transition: background 0.15s;
|
| 89 |
}
|
| 90 |
+
.btn-action:hover { background: var(--bbf-deep-800); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
.footer-bar {
|
| 92 |
+
margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--bbf-deep-800);
|
| 93 |
display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
|
| 94 |
}
|
| 95 |
</style>
|
|
|
|
| 104 |
<div class="brand-domain">zavalacubas.com</div>
|
| 105 |
</div>
|
| 106 |
</div>
|
| 107 |
+
<div class="pill">smolagents · Local Runtime</div>
|
| 108 |
</div>
|
| 109 |
|
| 110 |
+
<h1>⚡ CodeAgent · ReAct Loop</h1>
|
| 111 |
<p class="subtitle">Orquestación con <code>smolagents</code> + <code>Gradio 6.0</code> + <code>Ollama (qwen2:7b)</code> · Custom <code>@tools</code></p>
|
| 112 |
|
| 113 |
<div class="status-banner">
|
| 114 |
<div><span class="dot"></span><b>Estado del Agente:</b> Corriendo en local sobre MacBook Pro (<code>localhost:11434</code> · 0.00€).</div>
|
| 115 |
+
<div style="margin-top: 6px; color: var(--bbf-mint-300); font-size: 0.84rem;">
|
| 116 |
+
<i>Aquí en la nube solo ves el escaparate porque decidimos invertir los 9$/mes del plan PRO en café y correr los 7B de parámetros en casa.</i> ☕
|
| 117 |
</div>
|
| 118 |
</div>
|
| 119 |
|
|
|
|
| 129 |
</div>
|
| 130 |
</div>
|
| 131 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
<div class="footer-bar">
|
| 133 |
<a class="btn-action" href="https://huggingface.co/spaces/ZavalaCubas/First_agent_template/tree/main" target="_blank">📂 Ver código en Files (app.py) →</a>
|
| 134 |
+
<a class="btn-action" href="https://zavalacubas.com" target="_blank" style="border-color: var(--bbf-sea-700);">zavalacubas.com ↗</a>
|
| 135 |
</div>
|
| 136 |
</div>
|
| 137 |
|