Spaces:
Runtime error
Runtime error
Update utils/optimizer.py
Browse files- utils/optimizer.py +1 -1
utils/optimizer.py
CHANGED
|
@@ -137,7 +137,7 @@ class ContentOptimizer:
|
|
| 137 |
return {'error': f"Optimization failed: {str(e)}"}
|
| 138 |
|
| 139 |
def _standard_optimization(self, content: str, analyze_only: bool, include_keywords: bool) -> Dict[str, Any]:
|
| 140 |
-
|
| 141 |
try:
|
| 142 |
if analyze_only:
|
| 143 |
prompt_text = self.enhancement_prompt
|
|
|
|
| 137 |
return {'error': f"Optimization failed: {str(e)}"}
|
| 138 |
|
| 139 |
def _standard_optimization(self, content: str, analyze_only: bool, include_keywords: bool) -> Dict[str, Any]:
|
| 140 |
+
"""Standard content optimization using enhancement prompt"""
|
| 141 |
try:
|
| 142 |
if analyze_only:
|
| 143 |
prompt_text = self.enhancement_prompt
|