KvrParaskevi commited on
Commit
aefd090
·
verified ·
1 Parent(s): 871fa88

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -11,7 +11,7 @@ your_endpoint_url = "https://kp4xdy196cw81uf3.us-east-1.aws.endpoints.huggingfac
11
 
12
  llm = HuggingFaceEndpoint(
13
  endpoint_url=f"{your_endpoint_url}",
14
- huggingfacehub_api_token = ,
15
  task = "text-generation",
16
  max_new_tokens=128,
17
  top_k=10,
 
11
 
12
  llm = HuggingFaceEndpoint(
13
  endpoint_url=f"{your_endpoint_url}",
14
+ huggingfacehub_api_token = st.secrets["HUGGINGFACEHUB_API_TOKEN"],
15
  task = "text-generation",
16
  max_new_tokens=128,
17
  top_k=10,