satyam001 commited on
Commit
7405212
·
1 Parent(s): 96f68b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -99,8 +99,8 @@ def main():
99
  # response = chain.run(input_documents=docs, question=query)
100
  # print(cb)
101
  st.write(response)
102
- # else:
103
- # st.sidebar.error("Ooopssss!!! Please Enter API Keys....")
104
 
105
 
106
  if __name__ == '__main__':
 
99
  # response = chain.run(input_documents=docs, question=query)
100
  # print(cb)
101
  st.write(response)
102
+ elif st.session_state['HuggingFace_API_Key'] = "":
103
+ st.sidebar.error("Ooopssss!!! Please Enter API Keys....")
104
 
105
 
106
  if __name__ == '__main__':