Skip to content

Commit

Permalink
finished workshop version
Browse files Browse the repository at this point in the history
  • Loading branch information
sopheck committed Feb 29, 2024
1 parent 1116fcd commit 7a8a2af
Show file tree
Hide file tree
Showing 14 changed files with 3,213 additions and 146 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- main # or whatever branch you want to use
- kdh-main # or whatever branch you want to use

jobs:
release:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ name: Create and publish a Docker image
on:
push:
branches:
- main
- dev
- kdh-main
#- dev
tags:
- v*

Expand Down
2 changes: 1 addition & 1 deletion backend/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
except ImportError:
print("dotenv not installed, skipping...")

WEBUI_NAME = "Open WebUI"
WEBUI_NAME = "KDH KI-Playground"
shutil.copyfile("../build/favicon.png", "./static/favicon.png")

####################################
Expand Down
7 changes: 6 additions & 1 deletion backend/data/litellm/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
general_settings: {}
litellm_settings: {}
model_list: []
model_list:
- litellm_params:
model: huggingface/mistralai/Mistral-7B-Instruct-v0.1
model_info:
id: 8f79b27c-f7f9-407d-b46a-006e9f6f2f1c
model_name: huggingface/mistralai/Mistral-7B-Instruct-v0.1
router_settings: {}
Binary file modified backend/static/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added backend/static/kdh-ollama.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ services:
image: ollama/ollama:latest

open-webui:
#build:
#context: .
#args:
#OLLAMA_API_BASE_URL: '/ollama/api'
#dockerfile: Dockerfile
#image: localhost/kdh-ollama-webui:latest
image: ghcr.io/sopheck/kdh-open-webui:latest
build:
context: .
args:
OLLAMA_API_BASE_URL: '/ollama/api'
dockerfile: Dockerfile
image: localhost/kdh-ollama-webui:latest
#image: ghcr.io/sopheck/kdh-open-webui:latest
container_name: kdh-ollama-webui
volumes:
- open-webui:/app/backend/data
Expand Down
Loading

0 comments on commit 7a8a2af

Please sign in to comment.