wenhu commited on
Commit
c45a043
1 Parent(s): 97ebfb9

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, do_pre_download=False, do_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, do_pre_download=False, do_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)