mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +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 fastapi.middleware.cors import CORSMiddleware
|
||||
from starlette.middleware.base import BaseHTTPMiddleware
|
||||
|
||||
import threading
|
||||
import time
|
||||
@ -71,7 +70,7 @@ packages: List[Tuple[str, str]] = [
|
||||
("freedom_search", "0.1.9"),
|
||||
("scrapemaster", "0.2.1"),
|
||||
("lollms_client", "0.7.5"),
|
||||
("lollmsvectordb", "1.1.4"),
|
||||
("lollmsvectordb", "1.1.5"),
|
||||
]
|
||||
|
||||
def check_pn_libs():
|
||||
@ -87,8 +86,6 @@ def check_pn_libs():
|
||||
from fastapi import FastAPI
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
from starlette.responses import FileResponse
|
||||
from fastapi.responses import HTMLResponse
|
||||
from lollms.app import LollmsApplication
|
||||
from lollms.paths import LollmsPaths
|
||||
from lollms.main_config import LOLLMSConfig
|
||||
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>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<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">
|
||||
</head>
|
||||
<body>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<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">
|
||||
<nav class="panels-color shadow-lg rounded-lg p-4 max-w-4xl mx-auto mb-50 pb-50">
|
||||
<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-8">
|
||||
<div class="flex flex-wrap items-center justify-between gap-4">
|
||||
<div class="flex items-center space-x-4">
|
||||
<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>
|
||||
<span class="text-xl text-gray-700 font-semibold">Loading...</span>
|
||||
</div>
|
||||
<div v-else>
|
||||
<div v-else class="pb-20">
|
||||
<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">
|
||||
<app-card
|
||||
@ -134,7 +134,6 @@
|
||||
@open="openApp"
|
||||
@start-server="startServer"
|
||||
/>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -157,6 +156,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
import axios from 'axios';
|
||||
import AppCard from '@/components/AppCard.vue'; // Create this component for individual app cards
|
||||
|
Loading…
Reference in New Issue
Block a user