File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ uvicorn app:app --host 0.0.0.0 --port 8000 &
1616# **Optional:** Expose Server using ngrok (for Development)
1717echo " ### 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
You canโt perform that action at this time.
0 commit comments