wenhu commited on
Commit
653444c
·
verified ·
1 Parent(s): 1b6b22a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -96,8 +96,8 @@ if __name__ == "__main__":
96
  server_port = int(SERVER_PORT)
97
  root_path = ROOT_PATH
98
  elo_results_dir = ELO_RESULTS_DIR
99
- models = ModelManager(enable_nsfw=False, do_pre_download=True, do_debug_packages=True)
100
- # models = ModelManager(enable_nsfw=False, pre_download=False, debug_packages=False)
101
 
102
  elo_results_file, leaderboard_table_file = load_elo_results(elo_results_dir)
103
  demo = build_combine_demo(models, elo_results_file, leaderboard_table_file)
 
96
  server_port = int(SERVER_PORT)
97
  root_path = ROOT_PATH
98
  elo_results_dir = ELO_RESULTS_DIR
99
+ # models = ModelManager(enable_nsfw=False, do_pre_download=True, do_debug_packages=True)
100
+ models = ModelManager(enable_nsfw=False, pre_download=False, debug_packages=False)
101
 
102
  elo_results_file, leaderboard_table_file = load_elo_results(elo_results_dir)
103
  demo = build_combine_demo(models, elo_results_file, leaderboard_table_file)