Spaces:
Sleeping
Sleeping
Commit
·
53e43af
1
Parent(s):
ae09e2c
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from langchain.llms import HuggingFaceHub
|
|
8 |
|
9 |
#Function to return the response
|
10 |
def load_answer(question):
|
11 |
-
llm = HuggingFaceHub(
|
12 |
answer=llm(question)
|
13 |
return answer
|
14 |
|
|
|
8 |
|
9 |
#Function to return the response
|
10 |
def load_answer(question):
|
11 |
+
llm = HuggingFaceHub(repo_id="google/flan-t5-base")
|
12 |
answer=llm(question)
|
13 |
return answer
|
14 |
|