Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
fixed deployment issues
Murtaza Nasir796f901a7349
diff --git a/.env.fixed b/.env.fixednew file mode 100644index 00000000..adb66b98--- /dev/null+++ b/.env.fixed@@ -0,0 +1,3 @@+OPENROUTER_API_KEY=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+OPENROUTER_BASE_URL=https://openrouter.ai/api/v1+OPENROUTER_MODEL_NAME=openai/gpt-4o-minidiff --git a/deployment/setup.sh b/deployment/setup.shindex 6c11dafb..6cf6055b 100755--- a/deployment/setup.sh+++ b/deployment/setup.sh@@ -9,6 +9,7 @@ cp app.py /opt/transcription-app/cp -r templates /opt/transcription-app/cp requirements.txt /opt/transcription-app/cp reset_db.py /opt/transcription-app/+cp .env /opt/transcription-app/ # Copy the .env file with API keys# Create and activate virtual environmentpython3 -m venv /opt/transcription-app/venv@@ -60,4 +61,4 @@ echo "Checking service status..."sleep 3sudo systemctl status transcription-echo "Installation complete! The application should be running on port 8899."\ No newline at end of file+echo "Installation complete! The application should be running on port 8899."