Skip to content

Commit 90849a1

Browse files
Update Bash
Signed-off-by: ๐Ž๐ง๐ž ๐…๐ข๐ง๐ž ๐’๐ญ๐š๐ซ๐ฌ๐ญ๐ฎ๐Ÿ๐Ÿ <[email protected]>
1 parent fc639f4 commit 90849a1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

โ€ŽBashโ€Ž

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ uvicorn app:app --host 0.0.0.0 --port 8000 &
1616
# **Optional:** Expose Server using ngrok (for Development)
1717
echo "### Exposing Server with ngrok (Comment out if not needed)..."
1818
# pip install pyngrok
19-
# from pyngrok import ngrok
20-
# public_url = ngrok.connect(8000)
21-
# echo "Public URL: ${public_url}"
19+
# python -c "from pyngrok import ngrok; public_url = ngrok.connect(8000); print('Public URL:', public_url)"
2220

2321
# **Section 3: Production Setup with SSL (Comment out for Development)**
2422
# echo "### Generating SSL Certificates (e.g., using Certbot)..."
@@ -49,9 +47,9 @@ curl -X POST "http://127.0.0.1:8000/speech-to-text/" -F "file=@path/to/audio.wav
4947
# **Section 6: Environment Management (Optional)**
5048
# echo "### Creating a Virtual Environment (Comment out if already set)..."
5149
# python -m venv path/to/venv
52-
# Activate based on your OS (Manual Step)
53-
# Windows: path\to\venv\Scripts\activate
54-
# Unix/Linux: source path/to/venv/bin/activate
50+
# # Activate based on your OS (Manual Step)
51+
# # Windows: path\to\venv\Scripts\activate
52+
# # Unix/Linux: source path/to/venv/bin/activate
5553

5654
# echo "### Installing Additional Tools (e.g., for Arch Linux)..."
5755
# sudo pacman -S python-pipx python-torch

0 commit comments

Comments
ย (0)