Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -237,7 +237,7 @@ class GEOSEOApp:
|
|
| 237 |
# num_variations = st.slider("Number of variations", min_value=1, max_value=5, value=3)
|
| 238 |
else:
|
| 239 |
analyze_only = False
|
| 240 |
-
include_keywords = True
|
| 241 |
# num_variations = 3
|
| 242 |
|
| 243 |
# Show description based on optimization type
|
|
@@ -267,7 +267,7 @@ class GEOSEOApp:
|
|
| 267 |
result = self.content_optimizer.optimize_content(
|
| 268 |
input_text,
|
| 269 |
analyze_only=analyze_only,
|
| 270 |
-
include_keywords=
|
| 271 |
optimization_type="standard"
|
| 272 |
)
|
| 273 |
|
|
@@ -275,7 +275,7 @@ class GEOSEOApp:
|
|
| 275 |
result = self.content_optimizer.optimize_content(
|
| 276 |
input_text,
|
| 277 |
analyze_only=analyze_only,
|
| 278 |
-
include_keywords=
|
| 279 |
optimization_type="seo"
|
| 280 |
)
|
| 281 |
|
|
|
|
| 237 |
# num_variations = st.slider("Number of variations", min_value=1, max_value=5, value=3)
|
| 238 |
else:
|
| 239 |
analyze_only = False
|
| 240 |
+
# include_keywords = True
|
| 241 |
# num_variations = 3
|
| 242 |
|
| 243 |
# Show description based on optimization type
|
|
|
|
| 267 |
result = self.content_optimizer.optimize_content(
|
| 268 |
input_text,
|
| 269 |
analyze_only=analyze_only,
|
| 270 |
+
include_keywords=True, # Default to True for standard optimization
|
| 271 |
optimization_type="standard"
|
| 272 |
)
|
| 273 |
|
|
|
|
| 275 |
result = self.content_optimizer.optimize_content(
|
| 276 |
input_text,
|
| 277 |
analyze_only=analyze_only,
|
| 278 |
+
include_keywords=True, # Default to True for SEO optimization
|
| 279 |
optimization_type="seo"
|
| 280 |
)
|
| 281 |
|