kulkas2pintu commited on
Commit
985120a
·
verified ·
1 Parent(s): 18e84e1

Upload firered_client.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. firered_client.py +4 -1
firered_client.py CHANGED
@@ -91,7 +91,10 @@ API_NAME = "/edit"
91
  # come from the caller (app.py passes 1.0 / 4, matching the request).
92
  QWEN_LORA = os.environ.get("QWEN_EDIT_LORA", "Multiple-Angles")
93
  QWEN_IDENTITY = int(os.environ.get("QWEN_EDIT_IDENTITY", "100"))
94
- QWEN_OUTSIZE = int(os.environ.get("QWEN_EDIT_OUTSIZE", "2048"))
 
 
 
95
  QWEN_PRESERVE = os.environ.get("QWEN_EDIT_PRESERVE", "1") == "1"
96
  QWEN_FIXHANDS = os.environ.get("QWEN_EDIT_FIXHANDS", "0") == "1"
97
 
 
91
  # come from the caller (app.py passes 1.0 / 4, matching the request).
92
  QWEN_LORA = os.environ.get("QWEN_EDIT_LORA", "Multiple-Angles")
93
  QWEN_IDENTITY = int(os.environ.get("QWEN_EDIT_IDENTITY", "100"))
94
+ # 1024 (not 2048): this frame is only an appearance ANCHOR that VACE downscales to
95
+ # its 832px canvas, so 2048 added ZERO visible quality but ~4x the GPU cost/quota
96
+ # and a much bigger reservation. 1024 >= the 832 canvas, so no quality is lost.
97
+ QWEN_OUTSIZE = int(os.environ.get("QWEN_EDIT_OUTSIZE", "1024"))
98
  QWEN_PRESERVE = os.environ.get("QWEN_EDIT_PRESERVE", "1") == "1"
99
  QWEN_FIXHANDS = os.environ.get("QWEN_EDIT_FIXHANDS", "0") == "1"
100