Upload app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from langchain.llms import HuggingFaceHub
|
|
9 |
|
10 |
#Function to return the response
|
11 |
def load_answer(question):
|
12 |
-
llm = HuggingFaceHub(
|
13 |
answer=llm(question)
|
14 |
return answer
|
15 |
|
|
|
9 |
|
10 |
#Function to return the response
|
11 |
def load_answer(question):
|
12 |
+
llm = HuggingFaceHub(repo_id="google/flan-t5-large")
|
13 |
answer=llm(question)
|
14 |
return answer
|
15 |
|