Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -173,6 +173,7 @@ max_batch_size = 1
|
|
173 |
# download models
|
174 |
# download_llama_adapter(instruct_adapter_path, caption_adapter_path)
|
175 |
|
|
|
176 |
local_rank, world_size = setup_model_parallel()
|
177 |
if local_rank > 0:
|
178 |
sys.stdout = open(os.devnull, "w")
|
|
|
173 |
# download models
|
174 |
# download_llama_adapter(instruct_adapter_path, caption_adapter_path)
|
175 |
|
176 |
+
|
177 |
local_rank, world_size = setup_model_parallel()
|
178 |
if local_rank > 0:
|
179 |
sys.stdout = open(os.devnull, "w")
|