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

Updated generalization for question

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -19,5 +19,6 @@ question=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)
23
- st.write("out",d.run(question))
 
 
19
  # question = "When was Google founded?"
20
 
21
  # print(llm.run(question))
22
+ if question:
23
+ d=LLMChain(llm=llm,prompt=prompt)
24
+ st.write("out",d.run(question))