Vikas1994 commited on
Commit
fd64897
1 Parent(s): e5d5482

Updated generalization for question

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ 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
- st.text_input("Input the question",'')
19
  # question = "When was Google founded?"
20
 
21
  # print(llm.run(question))
 
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=st.text_input("Input the question",'')
19
  # question = "When was Google founded?"
20
 
21
  # print(llm.run(question))