Skip to content

Commit

Permalink
devcontainder added (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasiliadi authored May 6, 2024
1 parent 7d5adfd commit f2fb2e2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "transcriber dev container",
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bookworm",
"features": {
"ghcr.io/devcontainers/features/python:1": {},
"ghcr.io/devcontainers-contrib/features/ffmpeg-apt-get:1": {}
},
"forwardPorts": [8501],
"postCreateCommand": {
"packages": "pip install --no-cache-dir -r requirements.txt"
},
"postStartCommand":["streamlit", "run", "streamlit_app.py"],
"customizations": {
"vscode": {
// "settings": {},
"extensions": [
"ms-python.python",
"ms-python.black-formatter",
"ms-python.isort",
"visualstudioexptteam.vscodeintellicode",
"ms-toolsai.jupyter",
"davidanson.vscode-markdownlint",
"ms-azuretools.vscode-docker"
]
}
}
}
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ cython_debug/
.vscode/

# Codespaces or Dev Container
.devcontainer/
# .devcontainer/

# Local
temp
temp
.DS_Store

4 comments on commit f2fb2e2

@peennti
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make it into a website? thank

@vasiliadi
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean?
This dev container config could be used for codespace as well.

@peennti
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can clone website

@vasiliadi
Copy link
Owner Author

@vasiliadi vasiliadi commented on f2fb2e2 May 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, I didn't understand what you mean.

Using OpenAI Whisper model is not absolutely free.
Also if you wouldn't want to share responses to improve Gemini it's not free.

I have added render.yaml for render.com.
It's so easy to run. You only need to provide your API keys. Even if it is deployed to the web, you still need your API keys, as I don't want to manage and limit any usage.

Please sign in to comment.