mirror of
https://github.com/informaticker/cchat.git
synced 2024-11-24 10:31:56 +01:00
Fix tokenizer issue
This commit is contained in:
parent
af38cda43e
commit
53d4703cb2
1
app.py
1
app.py
@ -15,7 +15,6 @@ limiter = Limiter(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Load the tokenizer
|
# Load the tokenizer
|
||||||
tokenizer = AutoTokenizer.from_pretrained("informatiker/Llama-3-8B-Instruct-abliterated")
|
|
||||||
tokenizer = AutoTokenizer.from_pretrained(os.environ.get('TOKENIZER', 'gpt2'))
|
tokenizer = AutoTokenizer.from_pretrained(os.environ.get('TOKENIZER', 'gpt2'))
|
||||||
|
|
||||||
api_url = os.environ.get('API_URL', 'https://api.openai.com/v1')
|
api_url = os.environ.get('API_URL', 'https://api.openai.com/v1')
|
||||||
|
Loading…
Reference in New Issue
Block a user