Secrets token appended
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ HUGGING_FACE_API_KEY= os.environ.get("HUGGING_FACE_API_KEY")
|
|
13 |
|
14 |
Answer= "Let's think step by step."
|
15 |
prompt = PromptTemplate(template=template, input_variables=["question"])
|
16 |
-
llm=HuggingFaceHub(repo_id="
|
17 |
|
18 |
question = "When was Google founded?"
|
19 |
|
|
|
13 |
|
14 |
Answer= "Let's think step by step."
|
15 |
prompt = PromptTemplate(template=template, input_variables=["question"])
|
16 |
+
llm=HuggingFaceHub(repo_id="Writer/palmyra-small", model_kwargs={"temperature":1e-10},huggingfacehub_api_token=HUGGING_FACE_API_KEY)
|
17 |
|
18 |
question = "When was Google founded?"
|
19 |
|