ollamadiffuser 1.1.5__py3-none-any.whl → 1.1.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ OllamaDiffuser - Local AI Image Generation with Ollama-style CLI
4
4
  A tool for managing and running Stable Diffusion, FLUX.1, and other AI image generation models locally.
5
5
  """
6
6
 
7
- __version__ = "1.1.5"
7
+ __version__ = "1.1.6"
8
8
  __author__ = "OllamaDiffuser Team"
9
9
  __email__ = "ollamadiffuser@gmail.com"
10
10
  __description__ = "🎨 Local AI Image Generation with Ollama-style CLI for Stable Diffusion, FLUX.1, and LoRA support"
@@ -31,6 +31,13 @@ def verify_deps():
31
31
  except ImportError:
32
32
  deps_status['controlnet-aux'] = "❌ Missing"
33
33
 
34
+ # MediaPipe check (optional but recommended for full ControlNet functionality)
35
+ try:
36
+ import mediapipe
37
+ deps_status['mediapipe'] = f"✅ Installed (v{mediapipe.__version__})"
38
+ except ImportError:
39
+ deps_status['mediapipe'] = "⚠️ Optional (recommended for face/pose ControlNet)"
40
+
34
41
  # Torch check
35
42
  try:
36
43
  import torch
@@ -51,15 +58,18 @@ def verify_deps():
51
58
  table.add_column("Status", style="white")
52
59
 
53
60
  missing_deps = []
61
+ optional_deps = []
54
62
  for dep, status in deps_status.items():
55
63
  table.add_row(dep, status)
56
64
  if "❌ Missing" in status:
57
65
  missing_deps.append(dep)
66
+ elif "⚠️ Optional" in status:
67
+ optional_deps.append(dep)
58
68
 
59
69
  console.print(table)
60
70
 
61
71
  if missing_deps:
62
- console.print(f"\n⚠️ [bold yellow]{len(missing_deps)} dependencies are missing[/bold yellow]")
72
+ console.print(f"\n⚠️ [bold yellow]{len(missing_deps)} required dependencies are missing[/bold yellow]")
63
73
 
64
74
  if click.confirm("\nWould you like to install missing dependencies?"):
65
75
  for dep in missing_deps:
@@ -82,7 +92,23 @@ def verify_deps():
82
92
  console.print(f"❌ Failed to install {dep}: {e}")
83
93
 
84
94
  console.print("\n🔄 Re-run 'ollamadiffuser verify-deps' to check status")
85
- else:
95
+
96
+ if optional_deps:
97
+ console.print(f"\n💡 [bold blue]{len(optional_deps)} optional dependencies available for enhanced functionality[/bold blue]")
98
+
99
+ if click.confirm("\nWould you like to install optional dependencies for full ControlNet support?"):
100
+ for dep in optional_deps:
101
+ console.print(f"\n📦 Installing {dep}...")
102
+
103
+ try:
104
+ subprocess.check_call([
105
+ sys.executable, "-m", "pip", "install", dep
106
+ ])
107
+ console.print(f"✅ {dep} installed successfully")
108
+ except subprocess.CalledProcessError as e:
109
+ console.print(f"❌ Failed to install {dep}: {e}")
110
+
111
+ if not missing_deps and not optional_deps:
86
112
  console.print("\n🎉 [bold green]All dependencies are installed![/bold green]")
87
113
 
88
114
  # Check ControlNet preprocessors
@@ -96,6 +122,10 @@ def verify_deps():
96
122
  console.print("⚠️ ControlNet preprocessors not fully available")
97
123
  except Exception as e:
98
124
  console.print(f"❌ Error testing preprocessors: {e}")
125
+
126
+ # Show warning suppression tip
127
+ console.print("\n💡 [bold blue]Tip:[/bold blue] To suppress harmless import warnings, run:")
128
+ console.print(" [cyan]export PYTHONWARNINGS=\"ignore::UserWarning,ignore::FutureWarning\"[/cyan]")
99
129
 
100
130
  @click.command()
101
131
  def doctor():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ollamadiffuser
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: 🎨 Local AI Image Generation with Ollama-style CLI for Stable Diffusion, FLUX.1, and LoRA support
5
5
  Home-page: https://github.com/ollamadiffuser/ollamadiffuser
6
6
  Author: OllamaDiffuser Team
@@ -1,9 +1,9 @@
1
- ollamadiffuser/__init__.py,sha256=-iO6S4D8-MX5QqaqoEV7l1e_wm3TKO4SJGw9O6ZL38E,1127
1
+ ollamadiffuser/__init__.py,sha256=DWqHxjTy1ekkwx7FhVOWIannwUuINWT2aPNKNOEcC7o,1127
2
2
  ollamadiffuser/__main__.py,sha256=tNWMvEHq4ddtKLp7DrhIoOdnFw3F8RNrETC_u5xpkFI,141
3
3
  ollamadiffuser/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  ollamadiffuser/api/server.py,sha256=4-3gT8W1404bxvJ7y9htvKbd2yxrrbtAUvT7shOlJss,17679
5
5
  ollamadiffuser/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- ollamadiffuser/cli/commands.py,sha256=38LoP3Ofl5MX3i7Rbdhicy1z2PGfYH1gcws_VdsXoks,7435
6
+ ollamadiffuser/cli/commands.py,sha256=Pe0vyfGiffwd10QlVxBCTtNnMqHi8nJ3oNn_k8nAi5k,8903
7
7
  ollamadiffuser/cli/main.py,sha256=Iea_jVRu_Z3CViIcRTZM_SQJ7jtx91ZNaRvilxXqfqk,41908
8
8
  ollamadiffuser/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  ollamadiffuser/core/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -34,9 +34,9 @@ ollamadiffuser/ui/samples/scribble/face_sketch.png,sha256=MVVYy_aS48xoS_RnIDzLUa
34
34
  ollamadiffuser/ui/samples/scribble/tree_sketch.png,sha256=3P-NGgW25xRwreDxiBYKcDhd2oHZAwKSkjNVM5oPTWY,3017
35
35
  ollamadiffuser/ui/templates/index.html,sha256=qTQVFxiTbeZ90O-iNqWC_4pYP6yyIs2z6U69VJPqAB4,38176
36
36
  ollamadiffuser/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
- ollamadiffuser-1.1.5.dist-info/licenses/LICENSE,sha256=cnGL9l2P510Uk3TCnv62kot6vAfdSawhOZh7Y-oYoIE,1071
38
- ollamadiffuser-1.1.5.dist-info/METADATA,sha256=JOrGdeUdJLqTeZphOJbgJQmHD39omI3h49C6ootVSxU,17070
39
- ollamadiffuser-1.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
- ollamadiffuser-1.1.5.dist-info/entry_points.txt,sha256=tHXXO3N0GSnIobDe_eSOLfHPjjVFjeTg2Fd-APoD6sY,64
41
- ollamadiffuser-1.1.5.dist-info/top_level.txt,sha256=97wOGgTCxDE765Nr_o7B4Kwr_M_jy8fCCeQ81sMKlC4,15
42
- ollamadiffuser-1.1.5.dist-info/RECORD,,
37
+ ollamadiffuser-1.1.6.dist-info/licenses/LICENSE,sha256=cnGL9l2P510Uk3TCnv62kot6vAfdSawhOZh7Y-oYoIE,1071
38
+ ollamadiffuser-1.1.6.dist-info/METADATA,sha256=bDoFxbnLvkp40zA1PIkGDXBvznaS7FQ2PEKPimPLfJI,17070
39
+ ollamadiffuser-1.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
40
+ ollamadiffuser-1.1.6.dist-info/entry_points.txt,sha256=tHXXO3N0GSnIobDe_eSOLfHPjjVFjeTg2Fd-APoD6sY,64
41
+ ollamadiffuser-1.1.6.dist-info/top_level.txt,sha256=97wOGgTCxDE765Nr_o7B4Kwr_M_jy8fCCeQ81sMKlC4,15
42
+ ollamadiffuser-1.1.6.dist-info/RECORD,,