LAP-DEV commited on
Commit
f3e9378
·
verified ·
1 Parent(s): 9516ff1

Upload 4 files

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -7
  2. README.md +2 -2
Dockerfile CHANGED
@@ -1,11 +1,7 @@
1
  FROM debian:bookworm-slim AS builder
2
 
3
- RUN apt-get update && apt-get install -y \
4
- curl git python3 python3-pip python3-venv \
5
- python3-dev build-essential \
6
- && rm -rf /var/lib/apt/lists/*
7
-
8
  RUN apt-get update && \
 
9
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* && \
10
  mkdir -p /Whisper-WebUI
11
 
@@ -15,8 +11,8 @@ COPY requirements.txt .
15
 
16
  RUN python3 -m venv venv && \
17
  . venv/bin/activate && \
18
- pip install --upgrade pip setuptools wheel && \
19
- pip install --no-build-isolation --no-cache-dir -r requirements.txt
20
 
21
  FROM debian:bookworm-slim AS runtime
22
 
 
1
  FROM debian:bookworm-slim AS builder
2
 
 
 
 
 
 
3
  RUN apt-get update && \
4
+ apt-get install -y curl git python3 python3-pip python3-venv && \
5
  rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* && \
6
  mkdir -p /Whisper-WebUI
7
 
 
11
 
12
  RUN python3 -m venv venv && \
13
  . venv/bin/activate && \
14
+ pip install -U -r requirements.txt
15
+
16
 
17
  FROM debian:bookworm-slim AS runtime
18
 
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
- sdk: docker
3
  sdk_version: 5.49.1
4
- python_version: 3.11
5
  ---
6
  # Whisper-WebUI
7
  A Gradio-based browser interface for [Whisper](https://github.com/openai/whisper)
 
1
  ---
2
+ sdk: gradio
3
  sdk_version: 5.49.1
4
+ python_version: 3.12
5
  ---
6
  # Whisper-WebUI
7
  A Gradio-based browser interface for [Whisper](https://github.com/openai/whisper)