Spaces:
Sleeping
Sleeping
mattiashallberg
commited on
Commit
•
7d34f02
1
Parent(s):
41b20ed
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,8 @@ def environ_auth(username, password):
|
|
34 |
return True
|
35 |
else:
|
36 |
return False
|
37 |
-
|
|
|
38 |
demo = gr.load("attuned-ai/TipGeneratorBot-Private", src="spaces", hf_token=HF_TOKEN)
|
39 |
demo.queue(max_size=20)
|
40 |
demo.launch(auth=environ_auth, blocked_paths=[os.path.dirname("/secret/research.jpg")])
|
|
|
34 |
return True
|
35 |
else:
|
36 |
return False
|
37 |
+
|
38 |
+
print(os.path.dirname("/secret/research.jpg"))
|
39 |
demo = gr.load("attuned-ai/TipGeneratorBot-Private", src="spaces", hf_token=HF_TOKEN)
|
40 |
demo.queue(max_size=20)
|
41 |
demo.launch(auth=environ_auth, blocked_paths=[os.path.dirname("/secret/research.jpg")])
|