2bdf43b0 by 柴进

增加图像宽高比处理和requirements处理

1 parent 68b19c6f
......@@ -1415,7 +1415,8 @@ class ImageGeneratorWindow(QMainWindow):
settings_layout.addWidget(QLabel("宽高比"))
self.aspect_ratio = QComboBox()
self.aspect_ratio.addItems(["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"])
self.aspect_ratio.addItems(["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9", "match_input_image"])
self.aspect_ratio.setCurrentText("match_input_image") # 设置默认值
settings_layout.addWidget(self.aspect_ratio)
settings_layout.addSpacing(10)
......
altgraph==0.17.5
annotated-types==0.7.0
anyio==4.12.0
cachetools==6.2.2
certifi==2025.11.12
charset-normalizer==3.4.4
google-auth==2.43.0
google-genai==1.52.0
h11==0.16.0
httpcore==1.0.9
httpx==0.28.1
idna==3.11
macholib==1.16.4
packaging==25.0
pyasn1==0.6.1
pyasn1_modules==0.4.2
pydantic==2.12.5
pydantic_core==2.41.5
pyinstaller==6.17.0
pyinstaller-hooks-contrib==2025.10
PyMySQL==1.1.2
# GUI Framework
PySide6==6.10.1
PySide6_Addons==6.10.1
PySide6_Essentials==6.10.1
shiboken6==6.10.1
# Google AI
google-genai==1.52.0
google-auth==2.43.0
# Database
PyMySQL==1.1.2
# Image Processing
Pillow==11.1.0
# HTTP Client
httpx==0.28.1
h11==0.16.0
httpcore==1.0.9
websockets==15.0.1
requests==2.32.5
# Authentication & Security
certifi==2025.11.12
urllib3==2.5.0
rsa==4.9.1
shiboken6==6.10.1
# Async Support
anyio==4.12.0
# Caching
cachetools==6.2.2
# Retry Mechanism
tenacity==9.1.2
# Build Tools
pyinstaller==6.17.0
pyinstaller-hooks-contrib==2025.10
altgraph==0.17.5
macholib==1.16.4
# Type Annotations & Validation
pydantic==2.12.5
pydantic_core==2.41.5
typing-inspection==0.4.2
typing_extensions==4.15.0
urllib3==2.5.0
websockets==15.0.1
annotated-types==0.7.0
# Network & IDNA
idna==3.11
charset-normalizer==3.4.4
# Cryptography
pyasn1==0.6.1
pyasn1_modules==0.4.2
# Packaging
packaging==25.0
# Logging
# (built-in logging module is used)
# Standard library modules used:
# - base64, io, json, os, sys, shutil, tempfile
# - platform, logging, random, hashlib, socket, uuid
# - datetime, enum, queue, threading, pathlib
\ No newline at end of file
......