Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
fix canonical URL
Browse files
src/routes/api/generate/+server.ts
CHANGED
@@ -39,6 +39,7 @@ export async function POST({ request, cookies } : RequestEvent) {
|
|
39 |
const response = await fetch(process.env.SECRET_INFERENCE_API_URL + "/models/" + generation?.model?.id, {
|
40 |
method: "POST",
|
41 |
headers: {
|
|
|
42 |
'Content-Type': 'application/json',
|
43 |
['x-use-cache']: "0"
|
44 |
},
|
|
|
39 |
const response = await fetch(process.env.SECRET_INFERENCE_API_URL + "/models/" + generation?.model?.id, {
|
40 |
method: "POST",
|
41 |
headers: {
|
42 |
+
Authorization: `Bearer ${process.env.SECRET_HF_TOKEN}`,
|
43 |
'Content-Type': 'application/json',
|
44 |
['x-use-cache']: "0"
|
45 |
},
|
src/routes/gallery/+page.svelte
CHANGED
@@ -6,13 +6,13 @@
|
|
6 |
property="og:description"
|
7 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
8 |
/>
|
9 |
-
<meta property="og:image" content="https://
|
10 |
<meta name="twitter:title" content="LoRA Studio" />
|
11 |
<meta
|
12 |
name="twitter:description"
|
13 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
14 |
/>
|
15 |
-
<meta name="twitter:image" content="https://
|
16 |
</svelte:head>
|
17 |
|
18 |
<div>
|
|
|
6 |
property="og:description"
|
7 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
8 |
/>
|
9 |
+
<meta property="og:image" content="https://lorastudio.co/metadata.png" />
|
10 |
<meta name="twitter:title" content="LoRA Studio" />
|
11 |
<meta
|
12 |
name="twitter:description"
|
13 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
14 |
/>
|
15 |
+
<meta name="twitter:image" content="https://lorastudio.co/metadata.png" />
|
16 |
</svelte:head>
|
17 |
|
18 |
<div>
|
src/routes/generate/+page.svelte
CHANGED
@@ -6,13 +6,13 @@
|
|
6 |
property="og:description"
|
7 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
8 |
/>
|
9 |
-
<meta property="og:image" content="https://
|
10 |
<meta name="twitter:title" content="LoRA Studio" />
|
11 |
<meta
|
12 |
name="twitter:description"
|
13 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
14 |
/>
|
15 |
-
<meta name="twitter:image" content="https://
|
16 |
</svelte:head>
|
17 |
|
18 |
<script lang="ts">
|
|
|
6 |
property="og:description"
|
7 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
8 |
/>
|
9 |
+
<meta property="og:image" content="https://lorastudio.co/metadata.png" />
|
10 |
<meta name="twitter:title" content="LoRA Studio" />
|
11 |
<meta
|
12 |
name="twitter:description"
|
13 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
14 |
/>
|
15 |
+
<meta name="twitter:image" content="https://lorastudio.co/metadata.png" />
|
16 |
</svelte:head>
|
17 |
|
18 |
<script lang="ts">
|
src/routes/models/+page.svelte
CHANGED
@@ -32,9 +32,10 @@
|
|
32 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
33 |
/>
|
34 |
{/if}
|
35 |
-
<meta property="og:image" content="https://
|
36 |
-
<meta property="og:url" content="https://
|
37 |
-
<meta name="twitter:image" content="https://
|
|
|
38 |
</svelte:head>
|
39 |
|
40 |
<div>
|
|
|
32 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
33 |
/>
|
34 |
{/if}
|
35 |
+
<meta property="og:image" content="https://lorastudio.co/metadata.png" />
|
36 |
+
<meta property="og:url" content="https://lorastudio.co/" />
|
37 |
+
<meta name="twitter:image" content="https://lorastudio.co/metadata.png" />
|
38 |
+
<link rel="canonical" href="https://lorastudio.co/models" />
|
39 |
</svelte:head>
|
40 |
|
41 |
<div>
|
src/routes/models/[userId]/[slug]/+page.svelte
CHANGED
@@ -27,6 +27,7 @@
|
|
27 |
property="twitter:description"
|
28 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
29 |
/>
|
|
|
30 |
</svelte:head>
|
31 |
|
32 |
<div>
|
|
|
27 |
property="twitter:description"
|
28 |
content="LoRA Studio π¨ is your new all-in-one generative art AI platform! Explore thousands of fun LoRA Models, share your AI-generated art and get involved with a dynamic community of creators! New models arrive every day, in direct connection with Hugging Face! π€"
|
29 |
/>
|
30 |
+
<link rel="canonical" href={"https://lorastudio.co/models/" + data.model.id} />
|
31 |
</svelte:head>
|
32 |
|
33 |
<div>
|