Spaces:
cimsai
/
Runtime error

dwipper commited on
Commit
0d4285f
1 Parent(s): 4ef64e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -10,7 +10,7 @@ users_table_name = 'tblLNe5ZL47SvrAEk'
10
  user_log_table_name = 'tblrlTsRrkl6BqMAJ'
11
 
12
  #App name for user login logging
13
- app="NILI"
14
 
15
  #Header for the Airtable requests
16
  headers = {
@@ -78,7 +78,8 @@ def login_auth(username, password):
78
 
79
  return False
80
 
81
- #nili = gr.load(src="spaces",name="dwipper/NILI",hf_token=HUGGING_FACE_TOKEN)
 
82
  def greet(name):
83
  return "Hello " + name + "!"
84
 
@@ -86,7 +87,8 @@ demo = gr.Interface(fn=greet, inputs="text", outputs="text")
86
 
87
  if __name__ == "__main__":
88
  demo.launch(auth=login_auth, auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
 
89
 
90
- #nili.launch(auth=login_auth, auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
91
  #nili.launch(auth=login_auth, auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
92
  #nili.launch()
 
10
  user_log_table_name = 'tblrlTsRrkl6BqMAJ'
11
 
12
  #App name for user login logging
13
+ app="NILI Public"
14
 
15
  #Header for the Airtable requests
16
  headers = {
 
78
 
79
  return False
80
 
81
+ nili = gr.load(src="spaces",name="dwipper/NILI",hf_token=HUGGING_FACE_TOKEN)
82
+ """
83
  def greet(name):
84
  return "Hello " + name + "!"
85
 
 
87
 
88
  if __name__ == "__main__":
89
  demo.launch(auth=login_auth, auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
90
+ """
91
 
92
+ nili.launch(auth=login_auth, auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
93
  #nili.launch(auth=login_auth, auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
94
  #nili.launch()