OuroborosM commited on
Commit
39fb976
·
1 Parent(s): 4e238ad

add authen func

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -180,7 +180,9 @@ if __name__ == '__main__':
180
  # QAQuery("what is COFOR ?")
181
  # CreatDb_P()
182
  # QAQuery_p("what is GST ?")
183
- demo.queue().launch()
 
 
184
  pass
185
 
186
 
 
180
  # QAQuery("what is COFOR ?")
181
  # CreatDb_P()
182
  # QAQuery_p("what is GST ?")
183
+ username = os.getenv("username")
184
+ password = os.getenv("password")
185
+ demo.queue().launch(auth=(username, password))
186
  pass
187
 
188