有构建板,支持多模型构建,但生成支撑的切片还有bug
This commit is contained in:
14
tmp/test_pq.py
Normal file
14
tmp/test_pq.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from app import create_app
|
||||
from app.routes import get_quality_presets
|
||||
|
||||
import logging
|
||||
logging.getLogger("werkzeug").setLevel(logging.ERROR)
|
||||
|
||||
app = create_app()
|
||||
with app.app_context():
|
||||
presets = get_quality_presets()
|
||||
print("Presets length:", len(presets))
|
||||
if len(presets) > 0:
|
||||
print("First 3 presets:")
|
||||
for p in presets[:3]:
|
||||
print(p)
|
||||
Reference in New Issue
Block a user