Ver código fonte

updated readme

generalized the environment details
Mitch Donaberger 2 semanas atrás
pai
commit
64caeaf5d8
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      README.md
  2. 1 1
      translate_vtt.py

+ 2 - 2
README.md

@@ -32,8 +32,8 @@ pip install -r requirements.txt
 The tool uses environment variables for configuration:
 
 ```bash
-# Ollama server base URL (default: http://ai-house:11434/)
-export OLLAMA_BASE_URL="http://ai-house:11434/"
+# Ollama server base URL (default: http://localhost:11434/)
+export OLLAMA_BASE_URL="http://localhost:11434/"
 
 # Ollama model name (default: translategemma:12b)
 export OLLAMA_MODEL="translategemma:12b"

+ 1 - 1
translate_vtt.py

@@ -25,7 +25,7 @@ from tui import ProgressDisplay
 
 
 # Configuration from environment / hardcoded defaults
-OLLAMA_BASE_URL = os.getenv('OLLAMA_BASE_URL', 'http://ai-house:11434/')
+OLLAMA_BASE_URL = os.getenv('OLLAMA_BASE_URL', 'http://localhost:11434/')
 OLLAMA_MODEL = os.getenv('OLLAMA_MODEL', 'translategemma:12b')
 TEMP_DIR = '/tmp/'