arshad-ml commited on
Commit
9e78cad
·
verified ·
1 Parent(s): 020a412

Upload app.py

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