Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
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)
|