Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
try to fix metadata
Browse files- src/app.html +1 -17
- src/routes/+layout.svelte +0 -22
- src/routes/gallery/+layout.svelte +0 -5
- src/routes/gallery/+page.svelte +17 -0
- src/routes/generate/+page.svelte +12 -0
- src/routes/models/+layout.svelte +0 -11
- src/routes/models/+page.svelte +39 -0
- src/routes/models/[userId]/[slug]/+page.svelte +8 -2
src/app.html
CHANGED
@@ -11,27 +11,11 @@
|
|
11 |
rel="stylesheet"
|
12 |
/>
|
13 |
<title>LoRA Studio</title>
|
14 |
-
<meta
|
15 |
-
name="description"
|
16 |
-
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! π€"
|
17 |
-
/>
|
18 |
-
<meta property="og:title" content="LoRA Studio" />
|
19 |
-
<meta
|
20 |
-
property="og:description"
|
21 |
-
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! π€"
|
22 |
-
/>
|
23 |
-
<meta property="og:image" content="https://enzostvs-lora-studio.hf.space/metadata.png" />
|
24 |
-
<meta property="og:url" content="https://enzostvs-lora-studio.hf.space/" />
|
25 |
<meta property="og:type" content="website" />
|
26 |
<meta name="twitter:card" content="summary_large_image" />
|
27 |
<meta name="twitter:site" content="@huggingface" />
|
28 |
<meta name="twitter:creator" content="@huggingface" />
|
29 |
-
<meta name="twitter:title" content="LoRA Studio" />
|
30 |
-
<!-- <meta
|
31 |
-
name="twitter:description"
|
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 |
-
<!-- <meta name="twitter:image" content="https://enzostvs-lora-studio.hf.space/metadata.png" />
|
35 |
%sveltekit.head%
|
36 |
<link
|
37 |
ref="stylesheet"
|
|
|
11 |
rel="stylesheet"
|
12 |
/>
|
13 |
<title>LoRA Studio</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
<meta property="og:type" content="website" />
|
15 |
<meta name="twitter:card" content="summary_large_image" />
|
16 |
<meta name="twitter:site" content="@huggingface" />
|
17 |
<meta name="twitter:creator" content="@huggingface" />
|
18 |
+
<meta name="twitter:title" content="LoRA Studio" />
|
|
|
|
|
|
|
|
|
|
|
19 |
%sveltekit.head%
|
20 |
<link
|
21 |
ref="stylesheet"
|
src/routes/+layout.svelte
CHANGED
@@ -36,28 +36,6 @@
|
|
36 |
})
|
37 |
</script>
|
38 |
|
39 |
-
<svelte:head>
|
40 |
-
<title>LoRA Studio</title>
|
41 |
-
<meta name="description" 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! π€" />
|
42 |
-
<meta property="og:title" content="LoRA Studio" />
|
43 |
-
<meta
|
44 |
-
property="og:description"
|
45 |
-
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! π€"
|
46 |
-
/>
|
47 |
-
<meta property="og:image" content="https://enzostvs-lora-studio.hf.space/metadata.png" />
|
48 |
-
<meta property="og:url" content="https://enzostvs-lora-studio.hf.space/" />
|
49 |
-
<meta property="og:type" content="website" />
|
50 |
-
<meta name="twitter:card" content="summary_large_image" />
|
51 |
-
<meta name="twitter:site" content="@huggingface" />
|
52 |
-
<meta name="twitter:creator" content="@huggingface" />
|
53 |
-
<meta name="twitter:title" content="LoRA Studio" />
|
54 |
-
<meta
|
55 |
-
name="twitter:description"
|
56 |
-
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! π€"
|
57 |
-
/>
|
58 |
-
<meta name="twitter:image" content="https://enzostvs-lora-studio.hf.space/metadata.png" />
|
59 |
-
</svelte:head>
|
60 |
-
|
61 |
<div class="flex items-start">
|
62 |
<!-- <SpaceMiniHeader /> -->
|
63 |
<Sidebar />
|
|
|
36 |
})
|
37 |
</script>
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
<div class="flex items-start">
|
40 |
<!-- <SpaceMiniHeader /> -->
|
41 |
<Sidebar />
|
src/routes/gallery/+layout.svelte
CHANGED
@@ -56,11 +56,6 @@
|
|
56 |
}
|
57 |
</script>
|
58 |
|
59 |
-
<svelte:head>
|
60 |
-
<title>Community Gallery</title>
|
61 |
-
<meta name="description" 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! π€" />
|
62 |
-
</svelte:head>
|
63 |
-
|
64 |
<main class="px-6 py-10 lg:px-10 lg:py-12">
|
65 |
<h1 class="text-white font-semibold text-2xl">
|
66 |
Community Gallery ({data.total_items})
|
|
|
56 |
}
|
57 |
</script>
|
58 |
|
|
|
|
|
|
|
|
|
|
|
59 |
<main class="px-6 py-10 lg:px-10 lg:py-12">
|
60 |
<h1 class="text-white font-semibold text-2xl">
|
61 |
Community Gallery ({data.total_items})
|
src/routes/gallery/+page.svelte
CHANGED
@@ -1,3 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
<slot />
|
3 |
</div>
|
|
|
1 |
+
<svelte:head>
|
2 |
+
<title>Community Gallery</title>
|
3 |
+
<meta name="description" 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! π€" />
|
4 |
+
<meta property="og:title" content="LoRA Studio" />
|
5 |
+
<meta
|
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://enzostvs-lora-studio.hf.space/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://enzostvs-lora-studio.hf.space/metadata.png" />
|
16 |
+
</svelte:head>
|
17 |
+
|
18 |
<div>
|
19 |
<slot />
|
20 |
</div>
|
src/routes/generate/+page.svelte
CHANGED
@@ -1,6 +1,18 @@
|
|
1 |
<svelte:head>
|
2 |
<title>Generate your Image</title>
|
3 |
<meta name="description" 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! π€" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
</svelte:head>
|
5 |
|
6 |
<script lang="ts">
|
|
|
1 |
<svelte:head>
|
2 |
<title>Generate your Image</title>
|
3 |
<meta name="description" 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! π€" />
|
4 |
+
<meta property="og:title" content="LoRA Studio" />
|
5 |
+
<meta
|
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://enzostvs-lora-studio.hf.space/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://enzostvs-lora-studio.hf.space/metadata.png" />
|
16 |
</svelte:head>
|
17 |
|
18 |
<script lang="ts">
|
src/routes/models/+layout.svelte
CHANGED
@@ -81,17 +81,6 @@
|
|
81 |
|
82 |
</script>
|
83 |
|
84 |
-
<svelte:head>
|
85 |
-
<title>Explore Models</title>
|
86 |
-
<meta name="description" 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! π€" />
|
87 |
-
{#if $page.url.searchParams.get('search')}
|
88 |
-
<meta property="og:title" content="All {$page.url.searchParams.get('search')} LoRAS on LoRA Studio" />
|
89 |
-
<meta property="og:description" content="Browse and explore all {$page.url.searchParams.get('search')} models" />
|
90 |
-
{:else if $page.url.searchParams.get('base_model')}
|
91 |
-
<meta property="og:title" content="Explore {$page.url.searchParams.get('base_model')?.toLocaleUpperCase()} LoRAs" />
|
92 |
-
{/if}
|
93 |
-
</svelte:head>
|
94 |
-
|
95 |
<main class="px-6 py-10 lg:px-10 lg:py-12 relative">
|
96 |
<Drawer onSearch={handleChangeSearch} />
|
97 |
<h1 class="text-white font-semibold text-2xl">
|
|
|
81 |
|
82 |
</script>
|
83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
<main class="px-6 py-10 lg:px-10 lg:py-12 relative">
|
85 |
<Drawer onSearch={handleChangeSearch} />
|
86 |
<h1 class="text-white font-semibold text-2xl">
|
src/routes/models/+page.svelte
CHANGED
@@ -1,3 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div>
|
2 |
<slot />
|
3 |
</div>
|
|
|
1 |
+
<script>
|
2 |
+
import { page } from "$app/stores";
|
3 |
+
</script>
|
4 |
+
|
5 |
+
<svelte:head>
|
6 |
+
<title>Explore Models</title>
|
7 |
+
{#if $page.url.searchParams.get('search')}
|
8 |
+
<meta property="og:title" content="All {$page.url.searchParams.get('search')} LoRAS on LoRA Studio" />
|
9 |
+
<meta property="twitter:title" content="All {$page.url.searchParams.get('search')} LoRAS on LoRA Studio" />
|
10 |
+
<meta property="og:description" content="Browse and explore all {$page.url.searchParams.get('search')} models" />
|
11 |
+
<meta property="twitter:description" content="Browse and explore all {$page.url.searchParams.get('search')} models" />
|
12 |
+
{:else if $page.url.searchParams.get('base_model')}
|
13 |
+
<meta property="og:title" content="Explore {$page.url.searchParams.get('base_model')?.toLocaleUpperCase()} LoRAs" />
|
14 |
+
<meta property="twitter:title" content="Explore {$page.url.searchParams.get('base_model')?.toLocaleUpperCase()} LoRAs" />
|
15 |
+
<meta
|
16 |
+
property="og:description"
|
17 |
+
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! π€"
|
18 |
+
/>
|
19 |
+
<meta
|
20 |
+
name="twitter:description"
|
21 |
+
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! π€"
|
22 |
+
/>
|
23 |
+
{:else}
|
24 |
+
<meta property="og:title" content="Explore Models on LoRA Studio" />
|
25 |
+
<meta property="twitter:title" content="Explore Models on LoRA Studio" />
|
26 |
+
<meta
|
27 |
+
property="og: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 |
+
<meta
|
31 |
+
name="twitter:description"
|
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://enzostvs-lora-studio.hf.space/metadata.png" />
|
36 |
+
<meta property="og:url" content="https://enzostvs-lora-studio.hf.space/" />
|
37 |
+
<meta name="twitter:image" content="https://enzostvs-lora-studio.hf.space/metadata.png" />
|
38 |
+
</svelte:head>
|
39 |
+
|
40 |
<div>
|
41 |
<slot />
|
42 |
</div>
|
src/routes/models/[userId]/[slug]/+page.svelte
CHANGED
@@ -17,9 +17,15 @@
|
|
17 |
<meta property="og:image" content="https://lorastudio.co/api/images/{data?.model?.metadata}" />
|
18 |
<meta name="twitter:image" content="https://lorastudio.co/api/images/{data?.model?.metadata}" />
|
19 |
{/if}
|
20 |
-
<meta property="og:type" content="website" />
|
21 |
-
<meta name="twitter:card" content="summary_large_image" />
|
22 |
<meta name="twitter:title" content="{data?.model?.id.split("/")[1]} by {data?.model?.id.split("/")[0]} on LoRA Studio" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
</svelte:head>
|
24 |
|
25 |
<div>
|
|
|
17 |
<meta property="og:image" content="https://lorastudio.co/api/images/{data?.model?.metadata}" />
|
18 |
<meta name="twitter:image" content="https://lorastudio.co/api/images/{data?.model?.metadata}" />
|
19 |
{/if}
|
|
|
|
|
20 |
<meta name="twitter:title" content="{data?.model?.id.split("/")[1]} by {data?.model?.id.split("/")[0]} on LoRA Studio" />
|
21 |
+
<meta
|
22 |
+
property="og:description"
|
23 |
+
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! π€"
|
24 |
+
/>
|
25 |
+
<meta
|
26 |
+
property="twitter:description"
|
27 |
+
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! π€"
|
28 |
+
/>
|
29 |
</svelte:head>
|
30 |
|
31 |
<div>
|