Spaces:
Runtime error
Runtime error
freemt
commited on
Commit
·
e815598
1
Parent(s):
4aa312a
Update set share=False in iface, move enable_queue=True to launch
Browse files- radiobee/__main__.py +3 -3
radiobee/__main__.py
CHANGED
@@ -108,7 +108,7 @@ if __name__ == "__main__":
|
|
108 |
# likely hf spaces
|
109 |
server_name = "0.0.0.0"
|
110 |
debug = False
|
111 |
-
debug = True
|
112 |
share = False
|
113 |
|
114 |
# set UTC+8, probably wont work in hf spaces, no permission
|
@@ -485,7 +485,7 @@ if __name__ == "__main__":
|
|
485 |
# theme="darkgrass",
|
486 |
theme="grass",
|
487 |
layout="vertical", # horizontal unaligned
|
488 |
-
allow_flagging="
|
489 |
flagging_options=[
|
490 |
"fatal",
|
491 |
"bug",
|
@@ -493,7 +493,7 @@ if __name__ == "__main__":
|
|
493 |
"excelsior",
|
494 |
], # "paragon"],
|
495 |
css=f"{css_image} {css_input_file} {css_output_file}",
|
496 |
-
enable_queue=True,
|
497 |
)
|
498 |
|
499 |
iface.launch(
|
|
|
108 |
# likely hf spaces
|
109 |
server_name = "0.0.0.0"
|
110 |
debug = False
|
111 |
+
# debug = True
|
112 |
share = False
|
113 |
|
114 |
# set UTC+8, probably wont work in hf spaces, no permission
|
|
|
485 |
# theme="darkgrass",
|
486 |
theme="grass",
|
487 |
layout="vertical", # horizontal unaligned
|
488 |
+
allow_flagging="auto", # "manual"
|
489 |
flagging_options=[
|
490 |
"fatal",
|
491 |
"bug",
|
|
|
493 |
"excelsior",
|
494 |
], # "paragon"],
|
495 |
css=f"{css_image} {css_input_file} {css_output_file}",
|
496 |
+
# enable_queue=True,
|
497 |
)
|
498 |
|
499 |
iface.launch(
|