Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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),
|