Spaces:
Sleeping
Sleeping
modified system content on server.js
Browse files- server.js +1 -1
- src/components/login/login.tsx +1 -1
server.js
CHANGED
|
@@ -275,7 +275,7 @@ app.post("/api/ask-ai", async (req, res) => {
|
|
| 275 |
messages: [
|
| 276 |
{
|
| 277 |
role: "system",
|
| 278 |
-
content: `ONLY USE HTML
|
| 279 |
},
|
| 280 |
...(previousPrompt
|
| 281 |
? [
|
|
|
|
| 275 |
messages: [
|
| 276 |
{
|
| 277 |
role: "system",
|
| 278 |
+
content: `ONLY USE HTML AND CSS. Make sure that every style and asset is provided inline. If you want to use ICON make sure to import the library first. Try to create the best UI possible by using only HTML AND CSS. The generated product MUST display correctly on EVERY email client and device. Use best practices for HTML email creation. Also, try to ellaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILE`,
|
| 279 |
},
|
| 280 |
...(previousPrompt
|
| 281 |
? [
|
src/components/login/login.tsx
CHANGED
|
@@ -27,7 +27,7 @@ function Login({
|
|
| 27 |
<span className="text-xs bg-red-500/10 text-red-500 rounded-full pl-1.5 pr-2.5 py-0.5 flex items-center justify-start gap-1.5">
|
| 28 |
REQUIRED
|
| 29 |
</span>
|
| 30 |
-
Login
|
| 31 |
</header>
|
| 32 |
<main className="px-4 py-4 space-y-3">
|
| 33 |
{children}
|
|
|
|
| 27 |
<span className="text-xs bg-red-500/10 text-red-500 rounded-full pl-1.5 pr-2.5 py-0.5 flex items-center justify-start gap-1.5">
|
| 28 |
REQUIRED
|
| 29 |
</span>
|
| 30 |
+
Login con Hugging Face
|
| 31 |
</header>
|
| 32 |
<main className="px-4 py-4 space-y-3">
|
| 33 |
{children}
|