Leri777 commited on
Commit
b149e3a
·
verified ·
1 Parent(s): a381030

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -75,7 +75,7 @@ tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
75
 
76
  chat_model = ChatHuggingFace(
77
  model_name=MODEL_ID,
78
- huggingfacehub_api_token=os.environ["HUGGINGFACEHUB_API_TOKEN"],
79
  model_kwargs={
80
  "device_map": "auto",
81
  "quantization_config": quantization_config,
 
75
 
76
  chat_model = ChatHuggingFace(
77
  model_name=MODEL_ID,
78
+ huggingfacehub_api_token=os.environ["HF_TOKEN"],
79
  model_kwargs={
80
  "device_map": "auto",
81
  "quantization_config": quantization_config,