Skip to content

Commit

Permalink
feat: realtime ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedir Zadniprovskyi authored and fedirz committed Mar 3, 2025
1 parent 5d83e0e commit 07b1d5d
Show file tree
Hide file tree
Showing 9 changed files with 283 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*
!src/speaches
!src
!pyproject.toml
!uv.lock
!model_aliases.json
!realtime-console
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ __pycache__/
build/
develop-eggs/
dist/
!realtime-console/dist
downloads/
eggs/
.eggs/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
--mount=type=bind,source=uv.lock,target=uv.lock \
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
uv sync --frozen --compile-bytecode --no-install-project
COPY --chown=ubuntu ./src ./pyproject.toml ./uv.lock ./model_aliases.json ./
COPY --chown=ubuntu . .
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --frozen --compile-bytecode --extra ui
# Creating a directory for the cache to avoid the following error:
Expand Down
53 changes: 53 additions & 0 deletions realtime-console/dist/assets/index-CL0Z8kPx.js

Large diffs are not rendered by default.

53 changes: 53 additions & 0 deletions realtime-console/dist/assets/index-CnjK9X2j.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions realtime-console/dist/assets/index-mRR44nY5.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions realtime-console/dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/v1/realtime/peach.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Speaches Realtime Console</title>
<script type="module" crossorigin src="/v1/realtime/assets/index-CL0Z8kPx.js"></script>
<link rel="stylesheet" crossorigin href="/v1/realtime/assets/index-mRR44nY5.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
Loading

0 comments on commit 07b1d5d

Please sign in to comment.