mattiashallberg commited on
Commit
3f2d185
·
verified ·
1 Parent(s): 0d44363

Added users and named the new private space to point to AttunedSalesCo-Pilot-Private

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -20,10 +20,19 @@ def environ_auth(username, password):
20
  return True
21
  elif username == os.environ.get('miho_breen') and password == os.environ.get('miho_breen_password'):
22
  return True
 
 
 
 
 
 
 
 
 
 
23
  else:
24
  return False
25
 
26
- demo = gr.load("attuned-ai/Attuned-Communication-Bot", src="spaces", hf_token=HF_TOKEN)
27
- # demo = gr.load("attuned-ai/TestPrivateSpace", src="spaces", hf_token=HF_TOKEN)
28
  demo.queue(max_size=20)
29
  demo.launch(auth=environ_auth).launch()
 
20
  return True
21
  elif username == os.environ.get('miho_breen') and password == os.environ.get('miho_breen_password'):
22
  return True
23
+ elif username == os.environ.get('nishida_hideaki') and password == os.environ.get('nishida_hideaki_password'):
24
+ return True
25
+ elif username == os.environ.get('casey_wahl') and password == os.environ.get('casey_wahl_password'):
26
+ return True
27
+ elif username == os.environ.get('takeshi_kato') and password == os.environ.get('takeshi_kato_password'):
28
+ return True
29
+ elif username == os.environ.get('leonard_ogata') and password == os.environ.get('leonard_ogata_password'):
30
+ return True
31
+ elif username == os.environ.get('hiroyasu_ito') and password == os.environ.get('hiroyasu_ito_password'):
32
+ return True
33
  else:
34
  return False
35
 
36
+ demo = gr.load("attuned-ai/AttunedSalesCo-Pilot-Private", src="spaces", hf_token=HF_TOKEN)
 
37
  demo.queue(max_size=20)
38
  demo.launch(auth=environ_auth).launch()