Update app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,8 @@ os.getenv('HF_API')
|
|
| 9 |
hub_llm = HuggingFaceHub(repo_id='facebook/blenderbot-400M-distill')
|
| 10 |
|
| 11 |
prompt = prompt_templates(
|
| 12 |
-
input_variable = ["question"]
|
|
|
|
| 13 |
)
|
| 14 |
|
| 15 |
hub_chain = LLMChain(prompt=prompt, llm=hub_llm, verbose=True)
|
|
|
|
| 9 |
hub_llm = HuggingFaceHub(repo_id='facebook/blenderbot-400M-distill')
|
| 10 |
|
| 11 |
prompt = prompt_templates(
|
| 12 |
+
input_variable = ["question"],
|
| 13 |
+
template = "Answer is: {question}"
|
| 14 |
)
|
| 15 |
|
| 16 |
hub_chain = LLMChain(prompt=prompt, llm=hub_llm, verbose=True)
|