-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Gradio web UI with Docker Container (#24)
* Initial Gradio web UI implementation with Dockerfile * Initial outline of settings with UI * Annotate web_client Move hard-coded params to configuration Update README to include configuration example Update Docker default configuration Add Docker automation * wip tts/stt and styling * add stt/tts, rearrange interface * Address feedback from #25 Update documentation Add missing system deps to Dockerfile * Patch audioread missing license (MIT) https://github.com/beetbox/audioread/blob/main/LICENSE * Refactor `docker` dependencies to `gradio` Cleanup logging Refactor to resolve warnings Resolve missing directory exception in audio input handling * Fix STT language handling --------- Co-authored-by: Daniel McKnight <[email protected]> Co-authored-by: mikejgray <[email protected]>
- Loading branch information
1 parent
f00d6c9
commit 65eaf62
Showing
11 changed files
with
372 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM python:3.8-slim | ||
|
||
LABEL vendor=neon.ai \ | ||
ai.neon.name="neon-iris" | ||
|
||
ENV OVOS_CONFIG_BASE_FOLDER neon | ||
ENV OVOS_CONFIG_FILENAME neon.yaml | ||
ENV XDG_CONFIG_HOME /config | ||
|
||
RUN apt update && \ | ||
apt install -y ffmpeg | ||
|
||
ADD . /neon_iris | ||
WORKDIR /neon_iris | ||
|
||
RUN pip install wheel && \ | ||
pip install .[gradio] | ||
|
||
COPY docker_overlay/ / | ||
|
||
CMD ["iris", "start-gradio"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
MQ: | ||
server: neon-rabbitmq | ||
port: 5672 | ||
users: | ||
mq_handler: | ||
user: neon_api_utils | ||
password: Klatchat2021 | ||
iris: | ||
webui_title: Neon AI | ||
webui_description: Chat with Neon | ||
webui_input_placeholder: Ask me something | ||
server_address: "0.0.0.0" | ||
server_port: 7860 | ||
default_lang: en-us | ||
languages: | ||
- en-us | ||
- fr-fr | ||
- es-es | ||
- uk-ua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.