freemt commited on
Commit
0fa9da2
·
1 Parent(s): b92b890

Remove css_image input output, comment out width=900

Browse files
Files changed (1) hide show
  1. radiobee/__main__.py +5 -12
radiobee/__main__.py CHANGED
@@ -110,8 +110,8 @@ if __name__ == "__main__":
110
  if "amzn2" in uname.release:
111
  # likely hf spaces
112
  server_name = "0.0.0.0"
113
- debug = False
114
- # debug = True
115
  share = False
116
 
117
  os.environ["TZ"] = "Asia/Shanghai"
@@ -485,15 +485,9 @@ if __name__ == "__main__":
485
  examples_per_page=4,
486
  # theme="darkgrass",
487
  theme="grass",
488
- layout="vertical", # horizontal unaligned
489
  allow_flagging="never", # "manual" "never" "auto"
490
- # flagging_options=[
491
- # "fatal",
492
- # "bug",
493
- # "brainstorm",
494
- # "excelsior",
495
- # ], # "paragon"],
496
- css=f"{css_image} {css_input_file} {css_output_file}",
497
  # enable_queue=True, # moved to launch
498
  )
499
 
@@ -506,8 +500,7 @@ if __name__ == "__main__":
506
  server_port=server_port,
507
  # show_tips=True,
508
  enable_queue=True,
509
- # height=150, # 500
510
- width=900, # 900
511
  )
512
 
513
  _ = """
 
110
  if "amzn2" in uname.release:
111
  # likely hf spaces
112
  server_name = "0.0.0.0"
113
+ # debug = False
114
+ debug = True
115
  share = False
116
 
117
  os.environ["TZ"] = "Asia/Shanghai"
 
485
  examples_per_page=4,
486
  # theme="darkgrass",
487
  theme="grass",
488
+ # layout="vertical", # horizontal unaligned
489
  allow_flagging="never", # "manual" "never" "auto"
490
+ # css=f"{css_image} {css_input_file} {css_output_file}",
 
 
 
 
 
 
491
  # enable_queue=True, # moved to launch
492
  )
493
 
 
500
  server_port=server_port,
501
  # show_tips=True,
502
  enable_queue=True,
503
+ # width=900, # 900
 
504
  )
505
 
506
  _ = """