From b63c424a570c1d1f1d0f47db55ea8d85e95f8e12 Mon Sep 17 00:00:00 2001 From: Michael Clifford Date: Wed, 27 Mar 2024 11:26:34 -0400 Subject: [PATCH] update audio-to-text for ai studio --- audio-to-text/ai-lab.yaml | 27 +++++++++++++++++++ .../{client => builds}/Containerfile | 0 .../{client => builds}/requirements.txt | 0 audio-to-text/{client => }/whisper_client.py | 0 4 files changed, 27 insertions(+) create mode 100644 audio-to-text/ai-lab.yaml rename audio-to-text/{client => builds}/Containerfile (100%) rename audio-to-text/{client => builds}/requirements.txt (100%) rename audio-to-text/{client => }/whisper_client.py (100%) diff --git a/audio-to-text/ai-lab.yaml b/audio-to-text/ai-lab.yaml new file mode 100644 index 00000000..09a897f5 --- /dev/null +++ b/audio-to-text/ai-lab.yaml @@ -0,0 +1,27 @@ +version: v1.0 +application: + type: audio + name: Audio Transcription + description: This is a Streamlit transcription application. + containers: + - name: whispercpp-server + contextdir: ../model_servers/whispercpp + containerfile: Containerfile + model-service: true + backend: + - llama + arch: + - arm64 + - amd64 + ports: + - 8001 + image: quay.io/redhat-et/locallm-whispercpp-service:latest + - name: whispercpp-app + contextdir: . + containerfile: builds/Containerfile + arch: + - arm64 + - amd64 + ports: + - 8501 + image: quay.io/redhat-et/locallm-whisper-client:latest \ No newline at end of file diff --git a/audio-to-text/client/Containerfile b/audio-to-text/builds/Containerfile similarity index 100% rename from audio-to-text/client/Containerfile rename to audio-to-text/builds/Containerfile diff --git a/audio-to-text/client/requirements.txt b/audio-to-text/builds/requirements.txt similarity index 100% rename from audio-to-text/client/requirements.txt rename to audio-to-text/builds/requirements.txt diff --git a/audio-to-text/client/whisper_client.py b/audio-to-text/whisper_client.py similarity index 100% rename from audio-to-text/client/whisper_client.py rename to audio-to-text/whisper_client.py