"scripts/self_forcing/run_wan_t2v_sf.sh" did not exist on "5a4db4905e69be19b412bcfa25d9bcd5683a426c"
About.svelte 1.73 KB
Newer Older
Timothy J. Baek's avatar
Timothy J. Baek committed
1
2
<script lang="ts">
	import { getOllamaVersion } from '$lib/apis/ollama';
Timothy J. Baek's avatar
Timothy J. Baek committed
3
	import { WEBUI_NAME, WEB_UI_VERSION } from '$lib/constants';
Timothy J. Baek's avatar
Timothy J. Baek committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	import { config } from '$lib/stores';
	import { onMount } from 'svelte';

	let ollamaVersion = '';
	onMount(async () => {
		ollamaVersion = await getOllamaVersion(localStorage.token).catch((error) => {
			return '';
		});
	});
</script>

<div class="flex flex-col h-full justify-between space-y-3 text-sm mb-6">
	<div class=" space-y-3">
		<div>
Timothy J. Baek's avatar
Timothy J. Baek committed
18
			<div class=" mb-2.5 text-sm font-medium">{WEBUI_NAME} Version</div>
Timothy J. Baek's avatar
Timothy J. Baek committed
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
			<div class="flex w-full">
				<div class="flex-1 text-xs text-gray-700 dark:text-gray-200">
					{$config && $config.version ? $config.version : WEB_UI_VERSION}
				</div>
			</div>
		</div>

		<hr class=" dark:border-gray-700" />

		<div>
			<div class=" mb-2.5 text-sm font-medium">Ollama Version</div>
			<div class="flex w-full">
				<div class="flex-1 text-xs text-gray-700 dark:text-gray-200">
					{ollamaVersion ?? 'N/A'}
				</div>
			</div>
		</div>

		<hr class=" dark:border-gray-700" />

		<div class="flex space-x-1">
			<a href="https://discord.gg/5rJgQTnV4s" target="_blank">
				<img
					alt="Discord"
Timothy J. Baek's avatar
Timothy J. Baek committed
43
					src="https://img.shields.io/badge/Discord-Open_WebUI-blue?logo=discord&logoColor=white"
Timothy J. Baek's avatar
Timothy J. Baek committed
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
				/>
			</a>

			<a href="https://github.com/ollama-webui/ollama-webui" target="_blank">
				<img
					alt="Github Repo"
					src="https://img.shields.io/github/stars/ollama-webui/ollama-webui?style=social&label=Star us on Github"
				/>
			</a>
		</div>

		<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
			Created by <a
				class=" text-gray-500 dark:text-gray-300 font-medium"
				href="https://github.com/tjbck"
				target="_blank">Timothy J. Baek</a
			>
		</div>
	</div>
</div>