mattiashallberg commited on
Commit
bcb2615
1 Parent(s): 7d34f02

demo.launch(auth=environ_auth, blocked_paths=["/secret"])

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -35,7 +35,6 @@ def environ_auth(username, password):
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")])
 
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=["/secret"])