Skip to content

Commit

Permalink
test: add app scaffold 11
Browse files Browse the repository at this point in the history
  • Loading branch information
HellerHagen committed Sep 21, 2024
1 parent a3a5283 commit a4757de
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
8 changes: 1 addition & 7 deletions base-images/vscode-nocuda/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*


## huggingface/chat-ui install

# git clone https://github.com/huggingface/chat-ui
# cd chat-ui
# npm install

# Code Server server-proxy/vscode-proxy from https://coder.com/docs/code-server/latest
ENV CODE_VERSION=4.21.0

Expand Down Expand Up @@ -113,7 +107,7 @@ RUN chmod +x /usr/local/bin/before-notebook.d/60_launch_services.sh


# ---------------------------------
# TEST
# Huggingface Chat UI
# ---------------------------------

RUN pip install \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def run_chat_ui():
return {
"command": "open-webui serve",
"command": "<START HUGGINGFACE CHAT UI>",
"timeout": 300,
"new_browser_tab": True,
"launcher_entry": {
Expand Down
3 changes: 1 addition & 2 deletions packages/huggingface_chat_ui/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
jupyter-server-proxy
open-webui
jupyter-server-proxy
6 changes: 0 additions & 6 deletions packages/huggingface_chat_ui/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from setuptools import find_packages, setup
import os

with open("README.md", encoding="utf8") as f:
readme = f.read()
Expand All @@ -21,11 +20,6 @@
entry_points={"jupyter_serverproxy_servers": ["hf_chat_ui = huggingface_chat_ui:run_chat_ui"] }
)

print("="*20000)

print(os.getcwd())
input("STOP")

setup_args['install_requires'] = install_requires = []
with open('requirements.txt') as f:
for line in f.readlines():
Expand Down

0 comments on commit a4757de

Please sign in to comment.