avinashmhto commited on
Commit
ae09e2c
·
1 Parent(s): df75ebc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(repo_id="google/flan-t5-base")
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