Spaces:
Paused
Paused
demo.launch(auth=environ_auth, blocked_paths=["/secret"])
Browse files
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=[
|
|
|
|
| 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"])
|