Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
b083733
1
Parent(s):
0e21431
Add username-passwd
Browse files
app.py
CHANGED
@@ -39,6 +39,9 @@ password17=os.getenv("password17")
|
|
39 |
username18=os.getenv("username18")
|
40 |
password18=os.getenv("password18")
|
41 |
|
|
|
|
|
|
|
42 |
hf_api = HfApi(
|
43 |
endpoint="https://huggingface.co", # Can be a Private Hub endpoint.
|
44 |
token=HF_TOKEN_DEMO, # Token is not persisted on the machine.
|
@@ -265,5 +268,5 @@ with gr.Blocks(title="Audio Fake Detector") as demo:
|
|
265 |
|
266 |
f.upload(process_files,inputs=[f], outputs=[textbatch])
|
267 |
|
268 |
-
demo.launch(auth=[(username,password),(username0,password0) ,(username9,password9), (username12,password12),(username17,password17),(username18,password18)])
|
269 |
|
|
|
39 |
username18=os.getenv("username18")
|
40 |
password18=os.getenv("password18")
|
41 |
|
42 |
+
username20=os.getenv("username20")
|
43 |
+
password20=os.getenv("password20")
|
44 |
+
|
45 |
hf_api = HfApi(
|
46 |
endpoint="https://huggingface.co", # Can be a Private Hub endpoint.
|
47 |
token=HF_TOKEN_DEMO, # Token is not persisted on the machine.
|
|
|
268 |
|
269 |
f.upload(process_files,inputs=[f], outputs=[textbatch])
|
270 |
|
271 |
+
demo.launch(auth=[(username,password),(username0,password0) ,(username9,password9), (username12,password12),(username17,password17),(username18,password18),(username20,password20)])
|
272 |
|