Spaces:
Sleeping
Sleeping
Commit ·
5fa0fe2
1
Parent(s): 0a45e5b
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,10 +20,8 @@ parser.add_argument('--public_access', action='store_true',
|
|
| 20 |
args = parser.parse_args()
|
| 21 |
|
| 22 |
if on_huggingspace:
|
| 23 |
-
demo.launch(debug=
|
| 24 |
else:
|
| 25 |
_, _, link = demo.queue(api_open=False).launch(
|
| 26 |
file_directories=['temporal'], share=args.public_access)
|
| 27 |
-
print(link)
|
| 28 |
-
|
| 29 |
-
|
|
|
|
| 20 |
args = parser.parse_args()
|
| 21 |
|
| 22 |
if on_huggingspace:
|
| 23 |
+
demo.launch(debug=False)
|
| 24 |
else:
|
| 25 |
_, _, link = demo.queue(api_open=False).launch(
|
| 26 |
file_directories=['temporal'], share=args.public_access)
|
| 27 |
+
print(link)
|
|
|
|
|
|