Spaces:
Sleeping
Sleeping
Commit
·
ae09e2c
1
Parent(s):
df75ebc
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(model_name="google/flan-t5-base")
|
12 |
answer=llm(question)
|
13 |
return answer
|
14 |
|