Secrets token appended
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ st.write(x, 'squared is', x * x)
|
|
| 10 |
# !pip install langchain[all]
|
| 11 |
template = """Question: {question}
|
| 12 |
|
|
|
|
| 13 |
Answer: Let's think step by step."""
|
| 14 |
prompt = PromptTemplate(template=template, input_variables=["question"])
|
| 15 |
llm=HuggingFaceHub(repo_id="google/flan-t5-xl", model_kwargs={"temperature":1e-10},huggingfacehub_api_token=HUGGING_FACE_API_KEY)
|
|
|
|
| 10 |
# !pip install langchain[all]
|
| 11 |
template = """Question: {question}
|
| 12 |
|
| 13 |
+
|
| 14 |
Answer: Let's think step by step."""
|
| 15 |
prompt = PromptTemplate(template=template, input_variables=["question"])
|
| 16 |
llm=HuggingFaceHub(repo_id="google/flan-t5-xl", model_kwargs={"temperature":1e-10},huggingfacehub_api_token=HUGGING_FACE_API_KEY)
|