.env file is copied if exists
Browse files- Dockerfile +1 -1
- src/app.py +1 -1
Dockerfile
CHANGED
@@ -38,7 +38,7 @@ RUN python3.10 -m venv /home/${NB_USER}/venv \
|
|
38 |
&& /home/${NB_USER}/venv/bin/pip install --upgrade pip wheel \
|
39 |
&& /home/${NB_USER}/venv/bin/pip install -r /home/${NB_USER}/requirements.txt
|
40 |
|
41 |
-
COPY --chown=${NB_USER}:users ./.env* /home/${NB_USER}
|
42 |
COPY --chown=${NB_USER}:users ./src /home/${NB_USER}/src
|
43 |
|
44 |
EXPOSE 7860
|
|
|
38 |
&& /home/${NB_USER}/venv/bin/pip install --upgrade pip wheel \
|
39 |
&& /home/${NB_USER}/venv/bin/pip install -r /home/${NB_USER}/requirements.txt
|
40 |
|
41 |
+
COPY --chown=${NB_USER}:users ./.env* /home/${NB_USER}/
|
42 |
COPY --chown=${NB_USER}:users ./src /home/${NB_USER}/src
|
43 |
|
44 |
EXPOSE 7860
|
src/app.py
CHANGED
@@ -188,7 +188,7 @@ with gr.Blocks(title="Automatic speech recognition (beta)", css=css, analytics_e
|
|
188 |
with gr.Row():
|
189 |
gr.Markdown(
|
190 |
"""
|
191 |
-
# Automatic speech recognition
|
192 |
|
193 |
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
|
194 |
|
|
|
188 |
with gr.Row():
|
189 |
gr.Markdown(
|
190 |
"""
|
191 |
+
# Automatic speech recognition (beta)
|
192 |
|
193 |
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
|
194 |
|