Spaces:
Sleeping
Sleeping
TianxingWu
commited on
Commit
•
09c34cd
1
Parent(s):
f467e6f
update log
Browse files
app.py
CHANGED
@@ -274,7 +274,7 @@ class AnimateController:
|
|
274 |
torch.manual_seed(int(seed))
|
275 |
|
276 |
assert seed == torch.initial_seed()
|
277 |
-
print(f"### seed: {seed}")
|
278 |
|
279 |
generator = torch.Generator(device="cuda")
|
280 |
generator.manual_seed(seed)
|
@@ -320,6 +320,7 @@ class AnimateController:
|
|
320 |
"use_fp16": True if "use_fp16" in speed_up_options else False,
|
321 |
"use_coarse_to_fine_sampling": True if "use_coarse_to_fine_sampling" in speed_up_options else False
|
322 |
}
|
|
|
323 |
|
324 |
# return gr.Video.update(value=save_compare_path), gr.Json.update(value=json_config)
|
325 |
# return gr.Video.update(value=save_orig_sample_path), gr.Video.update(value=save_sample_path), gr.Video.update(value=save_compare_path), gr.Json.update(value=json_config)
|
|
|
274 |
torch.manual_seed(int(seed))
|
275 |
|
276 |
assert seed == torch.initial_seed()
|
277 |
+
# print(f"### seed: {seed}")
|
278 |
|
279 |
generator = torch.Generator(device="cuda")
|
280 |
generator.manual_seed(seed)
|
|
|
320 |
"use_fp16": True if "use_fp16" in speed_up_options else False,
|
321 |
"use_coarse_to_fine_sampling": True if "use_coarse_to_fine_sampling" in speed_up_options else False
|
322 |
}
|
323 |
+
print(json_config)
|
324 |
|
325 |
# return gr.Video.update(value=save_compare_path), gr.Json.update(value=json_config)
|
326 |
# return gr.Video.update(value=save_orig_sample_path), gr.Video.update(value=save_sample_path), gr.Video.update(value=save_compare_path), gr.Json.update(value=json_config)
|