Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,8 +66,15 @@ def login_auth(username, password):
|
|
66 |
|
67 |
return False
|
68 |
|
69 |
-
nili = gr.load(src="spaces",name="dwipper/NILI",hf_token=HUGGING_FACE_TOKEN)
|
|
|
|
|
70 |
|
71 |
-
|
|
|
|
|
|
|
|
|
|
|
72 |
#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'")
|
73 |
#nili.launch()
|
|
|
66 |
|
67 |
return False
|
68 |
|
69 |
+
#nili = gr.load(src="spaces",name="dwipper/NILI",hf_token=HUGGING_FACE_TOKEN)
|
70 |
+
def greet(name):
|
71 |
+
return "Hello " + name + "!"
|
72 |
|
73 |
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
74 |
+
|
75 |
+
if __name__ == "__main__":
|
76 |
+
demo.launch(auth=("admin", "1234"), auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
|
77 |
+
|
78 |
+
#nili.launch(auth=("admin", "1234"), auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email 'info@cims.ai'")
|
79 |
#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'")
|
80 |
#nili.launch()
|