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 14, 2024
1 parent 8c588f8 commit 7dc7927
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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', '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.
OLLAMA_API_BASE = os.getenv('OLLAMA_API_BASE', '') # 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 7dc7927

Please sign in to comment.