Julian Bilcke
commited on
Commit
·
b1dfbd2
1
Parent(s):
509112f
up
Browse files
app.py
CHANGED
|
@@ -109,6 +109,9 @@ def create_args():
|
|
| 109 |
# default is 0 based on config.py
|
| 110 |
args.ip_cfg_scale = 0.0
|
| 111 |
|
|
|
|
|
|
|
|
|
|
| 112 |
return args
|
| 113 |
|
| 114 |
logger.info("Initializing Hunyuan-GameCraft model...")
|
|
|
|
| 109 |
# default is 0 based on config.py
|
| 110 |
args.ip_cfg_scale = 0.0
|
| 111 |
|
| 112 |
+
# val_disable_autocast is needed by the pipeline
|
| 113 |
+
args.val_disable_autocast = False
|
| 114 |
+
|
| 115 |
return args
|
| 116 |
|
| 117 |
logger.info("Initializing Hunyuan-GameCraft model...")
|