Vikas1994 commited on
Commit
e5d5482
·
1 Parent(s): f8b5d8a

Updated generalization for question

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ Answer= "Let's think step by step."
15
  prompt = PromptTemplate(template=template, input_variables=["question"])
16
  llm=HuggingFaceHub(repo_id="Writer/palmyra-small", model_kwargs={"temperature":1e-10},huggingfacehub_api_token=HUGGING_FACE_API_KEY)
17
 
18
- question = "When was Google founded?"
 
19
 
20
  # print(llm.run(question))
21
  d=LLMChain(llm=llm,prompt=prompt)
 
15
  prompt = PromptTemplate(template=template, input_variables=["question"])
16
  llm=HuggingFaceHub(repo_id="Writer/palmyra-small", model_kwargs={"temperature":1e-10},huggingfacehub_api_token=HUGGING_FACE_API_KEY)
17
 
18
+ st.text_input("Input the question",'')
19
+ # question = "When was Google founded?"
20
 
21
  # print(llm.run(question))
22
  d=LLMChain(llm=llm,prompt=prompt)