Skip to content

Commit

Permalink
Update/next (#2)
Browse files Browse the repository at this point in the history
* Bump version from upstream

* add missign dependencies for RAG OCR

* fix path for png files and bump version th the latest

* Update manifest and instructions
  • Loading branch information
k0gen authored Jul 16, 2024
1 parent 20d5c51 commit 3f6ef99
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM ghcr.io/open-webui/open-webui:git-90503be as gui
FROM ollama/ollama:0.1.37 as ollama
FROM ghcr.io/open-webui/open-webui:0.3.8 as gui
FROM ollama/ollama:0.2.2 as ollama

COPY --from=gui /app /app
# COPY --from=gui /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2/onnx /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2/onnx

WORKDIR /app/backend

RUN apt-get update && \
apt-get install -y --no-install-recommends python3.11 python3-pip pandoc netcat-openbsd curl && \
apt-get install -y --no-install-recommends python3.11 python3-pip pandoc netcat-openbsd curl ffmpeg libsm6 libxext6 && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /root/.cache/chroma/onnx_models/all-MiniLM-L6-v2 && \
chown root:root -R /root/.cache/chroma && \
Expand All @@ -18,8 +18,10 @@ RUN apt-get update && \

ADD ./docker_entrypoint.sh /usr/local/bin/docker_entrypoint.sh
RUN chmod a+x /usr/local/bin/docker_entrypoint.sh
COPY icon.png /app/build/favicon.png
COPY icon.png /app/build/logo.svg
COPY icon.png /app/build/static/favicon.png
COPY icon.png /app/build/static/splash.png
COPY icon.png /app/build/static/splash-dark.png

RUN sed -i 's/WEBUI_NAME != "Open WebUI"/WEBUI_NAME != "FreeGPT-2"/g' /app/backend/config.py
RUN sed -i 's#WEBUI_FAVICON_URL = "https://openwebui.com/favicon.png"#WEBUI_FAVICON_URL = "/static/favicon.png"#g' /app/backend/config.py
RUN sed -i 's/flex w-full justify-between items-center/flex w-full justify-between items-center hidden/g' /app/build/_app/immutable/nodes/2.*.js
Expand Down
2 changes: 1 addition & 1 deletion instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

1. Click `Launch UI` to access your personal FreeGPT-2 website.
2. # by creating a user account.
3. Navigate to Settings > Models. Here, you will find an entry box titled `"Pull a model from Ollama.com"`. In this box, you can type the tag of the model you want to use. **We recommend starting with the `mistral:7b` model.**
3. Open the Admin Panel and navigate to Settings > Models. Here, you will find an entry box titled `"Pull a model from Ollama.com"`. In this box, you can type the tag of the model you want to use. **We recommend starting with the `mistral:7b` model.**
4. After entering the model tag (e.g., `mistral:7b`), click the download button on the right. The software will automatically download the model.
5. To discover other compatible models and their tags, visit the [Ollama Library](https://ollama.com/library). This page provides information about all the supported models. You can explore these models and choose the one that best suits your needs.
6. Please note that the size of the model you choose should not exceed the available RAM memory of your server. Using a model larger than your available memory could lead to performance issues or crashes.
Expand Down
10 changes: 5 additions & 5 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
id: free-gpt
title: "FreeGPT-2"
version: 2.37.124
version: 2.202.038
release-notes: |
- Ollama update to the latest version
- Updated UI to use latest version of Open WebUI
- Added support for llama3 and many llama3 based models
- Additional UI Language Support including Polish and Turkish
- Improved Admin Panel
- And many more ...
- Added support for GLM-4, CodeGeeX4 and Gemma 2 models.
- 🎙️ Hands-Free Voice Call Feature: Initiate voice calls without needing to use your hands, making interactions more seamless.
- 🎛️ Enhanced UI for Voice Recording: Improved user interface for the voice recording feature, making it more intuitive and user-friendly.
- And many, many more ...
license: MIT
wrapper-repo: "https://github.com/Start9Labs/freegpt2-startos"
upstream-repo: "https://github.com/Start9Labs/freegpt2-startos"
Expand Down
2 changes: 1 addition & 1 deletion scripts/procedures/migrations.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { compat, types as T } from "../deps.ts";

export const migration: T.ExpectedExports.migration = compat.migrations
.fromMapping({}, "2.37.124" );
.fromMapping({}, "2.202.038" );

0 comments on commit 3f6ef99

Please # to comment.