Skip to content

Commit

Permalink
Update keys.py
Browse files Browse the repository at this point in the history
  • Loading branch information
popcion authored Dec 15, 2024
1 parent 7dc7927 commit 89173f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manga_translator/translators/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@

# ollama, with OpenAI API compatibility
OLLAMA_API_KEY = os.getenv('OLLAMA_API_KEY', 'ollama') # Unsed for ollama, but maybe useful for other LLM tools.
OLLAMA_API_BASE = os.getenv('OLLAMA_API_BASE', '') # Use OLLAMA_HOST env to change binding IP and Port.
OLLAMA_API_BASE = os.getenv('OLLAMA_API_BASE', 'http://localhost:11434/v1') # Use OLLAMA_HOST env to change binding IP and Port.
OLLAMA_MODEL = os.getenv('OLLAMA_MODEL', '') # e.g "qwen2.5:7b". Make sure to pull and run it before use.

0 comments on commit 89173f5

Please sign in to comment.