2bdf43b0 by 柴进

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

1 parent 68b19c6f
...@@ -1415,7 +1415,8 @@ class ImageGeneratorWindow(QMainWindow): ...@@ -1415,7 +1415,8 @@ class ImageGeneratorWindow(QMainWindow):
1415 1415
1416 settings_layout.addWidget(QLabel("宽高比")) 1416 settings_layout.addWidget(QLabel("宽高比"))
1417 self.aspect_ratio = QComboBox() 1417 self.aspect_ratio = QComboBox()
1418 self.aspect_ratio.addItems(["1:1", "2:3", "3:2", "3:4", "4:3", "4:5", "5:4", "9:16", "16:9", "21:9"]) 1418 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"])
1419 self.aspect_ratio.setCurrentText("match_input_image") # 设置默认值
1419 settings_layout.addWidget(self.aspect_ratio) 1420 settings_layout.addWidget(self.aspect_ratio)
1420 1421
1421 settings_layout.addSpacing(10) 1422 settings_layout.addSpacing(10)
......
1 altgraph==0.17.5 1 # GUI Framework
2 annotated-types==0.7.0
3 anyio==4.12.0
4 cachetools==6.2.2
5 certifi==2025.11.12
6 charset-normalizer==3.4.4
7 google-auth==2.43.0
8 google-genai==1.52.0
9 h11==0.16.0
10 httpcore==1.0.9
11 httpx==0.28.1
12 idna==3.11
13 macholib==1.16.4
14 packaging==25.0
15 pyasn1==0.6.1
16 pyasn1_modules==0.4.2
17 pydantic==2.12.5
18 pydantic_core==2.41.5
19 pyinstaller==6.17.0
20 pyinstaller-hooks-contrib==2025.10
21 PyMySQL==1.1.2
22 PySide6==6.10.1 2 PySide6==6.10.1
23 PySide6_Addons==6.10.1 3 PySide6_Addons==6.10.1
24 PySide6_Essentials==6.10.1 4 PySide6_Essentials==6.10.1
5 shiboken6==6.10.1
6
7 # Google AI
8 google-genai==1.52.0
9 google-auth==2.43.0
10
11 # Database
12 PyMySQL==1.1.2
13
14 # Image Processing
15 Pillow==11.1.0
16
17 # HTTP Client
18 httpx==0.28.1
19 h11==0.16.0
20 httpcore==1.0.9
21 websockets==15.0.1
25 requests==2.32.5 22 requests==2.32.5
23
24 # Authentication & Security
25 certifi==2025.11.12
26 urllib3==2.5.0
26 rsa==4.9.1 27 rsa==4.9.1
27 shiboken6==6.10.1 28
29 # Async Support
30 anyio==4.12.0
31
32 # Caching
33 cachetools==6.2.2
34
35 # Retry Mechanism
28 tenacity==9.1.2 36 tenacity==9.1.2
37
38 # Build Tools
39 pyinstaller==6.17.0
40 pyinstaller-hooks-contrib==2025.10
41 altgraph==0.17.5
42 macholib==1.16.4
43
44 # Type Annotations & Validation
45 pydantic==2.12.5
46 pydantic_core==2.41.5
29 typing-inspection==0.4.2 47 typing-inspection==0.4.2
30 typing_extensions==4.15.0 48 typing_extensions==4.15.0
31 urllib3==2.5.0 49 annotated-types==0.7.0
32 websockets==15.0.1 50
51 # Network & IDNA
52 idna==3.11
53 charset-normalizer==3.4.4
54
55 # Cryptography
56 pyasn1==0.6.1
57 pyasn1_modules==0.4.2
58
59 # Packaging
60 packaging==25.0
61
62 # Logging
63 # (built-in logging module is used)
64
65 # Standard library modules used:
66 # - base64, io, json, os, sys, shutil, tempfile
67 # - platform, logging, random, hashlib, socket, uuid
68 # - datetime, enum, queue, threading, pathlib
...\ No newline at end of file ...\ No newline at end of file
......