Pamudu13 commited on
Commit
3599b48
·
verified ·
1 Parent(s): 0195c50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def initialize_llmchain(llm_model, temperature, max_tokens, top_k, vector_db):
74
  task="text-generation",
75
  client=InferenceClient(
76
  model=llm_model,
77
- token=api_token
78
  ),
79
  model_kwargs={
80
  "temperature": float(temperature),
 
74
  task="text-generation",
75
  client=InferenceClient(
76
  model=llm_model,
77
+ huggingfacehub_api_token=api_token
78
  ),
79
  model_kwargs={
80
  "temperature": float(temperature),