Update app.py
Browse files
app.py
CHANGED
@@ -77,17 +77,5 @@ def login_auth(username, password):
|
|
77 |
|
78 |
return False
|
79 |
|
80 |
-
nili = gr.load(src="spaces",name="dwipper/
|
81 |
-
""
|
82 |
-
def greet(name):
|
83 |
-
return "Hello " + name + "!"
|
84 |
-
|
85 |
-
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 '[email protected]'")
|
89 |
-
"""
|
90 |
-
|
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 '[email protected]'")
|
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 '[email protected]'")
|
93 |
-
#nili.launch()
|
|
|
77 |
|
78 |
return False
|
79 |
|
80 |
+
nili = gr.load(src="spaces",name="dwipper/Scout",hf_token=HUGGING_FACE_TOKEN)
|
81 |
+
nili.launch(auth=login_auth, auth_message= "Enter your username and password that you received from CIMS.AI. To request a login, please email '[email protected]'")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|