Spaces:
Running
Running
update copyright
Browse files
server.js
CHANGED
@@ -107,7 +107,7 @@ app.post("/api/deploy", checkUser, async (req, res) => {
|
|
107 |
if (!path) {
|
108 |
newHtml = html.replace(
|
109 |
/<\/body>/,
|
110 |
-
`<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position:
|
111 |
);
|
112 |
}
|
113 |
|
@@ -216,7 +216,7 @@ app.post("/api/ask-ai", async (req, res) => {
|
|
216 |
try {
|
217 |
const chatCompletion = client.chatCompletionStream({
|
218 |
model: MODEL_ID,
|
219 |
-
provider: "
|
220 |
messages: [
|
221 |
{
|
222 |
role: "system",
|
|
|
107 |
if (!path) {
|
108 |
newHtml = html.replace(
|
109 |
/<\/body>/,
|
110 |
+
`<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body>`
|
111 |
);
|
112 |
}
|
113 |
|
|
|
216 |
try {
|
217 |
const chatCompletion = client.chatCompletionStream({
|
218 |
model: MODEL_ID,
|
219 |
+
provider: "hyperbolic",
|
220 |
messages: [
|
221 |
{
|
222 |
role: "system",
|