mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-24 06:36:37 +00:00
sync
This commit is contained in:
parent
58e964bfc8
commit
eb46d6db2a
5
app.py
5
app.py
@ -7,7 +7,6 @@ This file is the entry point to the webui.
|
|||||||
"""
|
"""
|
||||||
from lollms.utilities import PackageManager
|
from lollms.utilities import PackageManager
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
from fastapi.middleware.cors import CORSMiddleware
|
||||||
from starlette.middleware.base import BaseHTTPMiddleware
|
|
||||||
|
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
@ -71,7 +70,7 @@ packages: List[Tuple[str, str]] = [
|
|||||||
("freedom_search", "0.1.9"),
|
("freedom_search", "0.1.9"),
|
||||||
("scrapemaster", "0.2.1"),
|
("scrapemaster", "0.2.1"),
|
||||||
("lollms_client", "0.7.5"),
|
("lollms_client", "0.7.5"),
|
||||||
("lollmsvectordb", "1.1.4"),
|
("lollmsvectordb", "1.1.5"),
|
||||||
]
|
]
|
||||||
|
|
||||||
def check_pn_libs():
|
def check_pn_libs():
|
||||||
@ -87,8 +86,6 @@ def check_pn_libs():
|
|||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
from fastapi.staticfiles import StaticFiles
|
from fastapi.staticfiles import StaticFiles
|
||||||
from starlette.responses import FileResponse
|
from starlette.responses import FileResponse
|
||||||
from fastapi.responses import HTMLResponse
|
|
||||||
from lollms.app import LollmsApplication
|
|
||||||
from lollms.paths import LollmsPaths
|
from lollms.paths import LollmsPaths
|
||||||
from lollms.main_config import LOLLMSConfig
|
from lollms.main_config import LOLLMSConfig
|
||||||
from lollms.utilities import trace_exception
|
from lollms.utilities import trace_exception
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit c1ae28eb76f40e86c5f6381268269a87b4b1affe
|
Subproject commit 81ef55bc9e08825ef59e8a81f448843c2c6e3cf3
|
File diff suppressed because one or more lines are too long
2
web/dist/index.html
vendored
2
web/dist/index.html
vendored
@ -6,7 +6,7 @@
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>LoLLMS WebUI</title>
|
<title>LoLLMS WebUI</title>
|
||||||
<script type="module" crossorigin src="/assets/index-C-GomgrB.js"></script>
|
<script type="module" crossorigin src="/assets/index-BVOYu6DW.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-B-lXipjY.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-B-lXipjY.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-zoo background-color w-full p-6 overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary">
|
<div class="app-zoo background-color w-full p-6 min-h-screen overflow-y-auto">
|
||||||
<nav class="panels-color shadow-lg rounded-lg p-4 max-w-4xl mx-auto mb-50 pb-50">
|
<nav class="panels-color shadow-lg rounded-lg p-4 max-w-4xl mx-auto mb-8">
|
||||||
<div class="flex flex-wrap items-center justify-between gap-4">
|
<div class="flex flex-wrap items-center justify-between gap-4">
|
||||||
<div class="flex items-center space-x-4">
|
<div class="flex items-center space-x-4">
|
||||||
<button
|
<button
|
||||||
@ -99,7 +99,7 @@
|
|||||||
<div class="animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"></div>
|
<div class="animate-spin rounded-full h-10 w-10 border-t-2 border-b-2 border-blue-500"></div>
|
||||||
<span class="text-xl text-gray-700 font-semibold">Loading...</span>
|
<span class="text-xl text-gray-700 font-semibold">Loading...</span>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else class="pb-20">
|
||||||
<h2 class="text-2xl font-bold mb-4">Favorite Apps</h2>
|
<h2 class="text-2xl font-bold mb-4">Favorite Apps</h2>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-8">
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 mb-8">
|
||||||
<app-card
|
<app-card
|
||||||
@ -134,7 +134,6 @@
|
|||||||
@open="openApp"
|
@open="openApp"
|
||||||
@start-server="startServer"
|
@start-server="startServer"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -157,6 +156,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import AppCard from '@/components/AppCard.vue'; // Create this component for individual app cards
|
import AppCard from '@/components/AppCard.vue'; // Create this component for individual app cards
|
||||||
|
Loading…
Reference in New Issue
Block a user