Upload folder using huggingface_hub
Browse files- ankigen_core/card_generator.py +1 -3
- pyproject.toml +9 -9
- uv.lock +0 -0
ankigen_core/card_generator.py
CHANGED
@@ -578,9 +578,7 @@ async def orchestrate_card_generation( # MODIFIED: Added async
|
|
578 |
# progress_total_batches = len(topics_for_generation)
|
579 |
# current_batch_num = 0
|
580 |
|
581 |
-
for (
|
582 |
-
topic_info
|
583 |
-
) in (
|
584 |
topics_for_generation
|
585 |
): # This loop will be skipped if text_mode populated flattened_data directly
|
586 |
# current_batch_num += 1
|
|
|
578 |
# progress_total_batches = len(topics_for_generation)
|
579 |
# current_batch_num = 0
|
580 |
|
581 |
+
for topic_info in (
|
|
|
|
|
582 |
topics_for_generation
|
583 |
): # This loop will be skipped if text_mode populated flattened_data directly
|
584 |
# current_batch_num += 1
|
pyproject.toml
CHANGED
@@ -12,8 +12,8 @@ authors = [
|
|
12 |
readme = "README.md"
|
13 |
requires-python = ">=3.12"
|
14 |
dependencies = [
|
15 |
-
"openai>=1.
|
16 |
-
"gradio>=
|
17 |
"tenacity>=9.1.2",
|
18 |
"genanki>=0.13.1",
|
19 |
"pydantic==2.10.6",
|
@@ -25,13 +25,13 @@ dependencies = [
|
|
25 |
|
26 |
[project.optional-dependencies]
|
27 |
dev = [
|
28 |
-
"pytest",
|
29 |
-
"pytest-cov",
|
30 |
-
"pytest-mock",
|
31 |
-
"ruff",
|
32 |
-
"black",
|
33 |
-
"pre-commit",
|
34 |
-
"pytest-anyio",
|
35 |
]
|
36 |
|
37 |
[tool.setuptools]
|
|
|
12 |
readme = "README.md"
|
13 |
requires-python = ">=3.12"
|
14 |
dependencies = [
|
15 |
+
"openai>=1.91.0",
|
16 |
+
"gradio>=5.34.2",
|
17 |
"tenacity>=9.1.2",
|
18 |
"genanki>=0.13.1",
|
19 |
"pydantic==2.10.6",
|
|
|
25 |
|
26 |
[project.optional-dependencies]
|
27 |
dev = [
|
28 |
+
"pytest>=8.4.1",
|
29 |
+
"pytest-cov>=6.2.1",
|
30 |
+
"pytest-mock>=3.14.1",
|
31 |
+
"ruff>=0.12.0",
|
32 |
+
"black>=25.1.0",
|
33 |
+
"pre-commit>=4.2.0",
|
34 |
+
"pytest-anyio>=0.0.0",
|
35 |
]
|
36 |
|
37 |
[tool.setuptools]
|
uv.lock
CHANGED
The diff for this file is too large to render.
See raw diff
|
|