gnosticdev commited on
Commit
cffb02c
·
verified ·
1 Parent(s): e51874e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -2
app.py CHANGED
@@ -399,7 +399,14 @@ def extract_visual_keywords_from_script(script_text):
399
  logger.info("Extrayendo palabras clave del guion")
400
  if not script_text or not script_text.strip():
401
  logger.warning("Guion vacío, no se pueden extraer palabras clave.")
402
- return ["naturaleza", "ciudad", "paisaje"]
 
 
 
 
 
 
 
403
 
404
  clean_text = re.sub(r'[^\w\sáéíóúñÁÉÍÓÚÑ]', '', script_text)
405
  keywords_list = []
@@ -446,7 +453,14 @@ def extract_visual_keywords_from_script(script_text):
446
 
447
  if not top_keywords:
448
  logger.warning("El método simple no produjo keywords. Usando palabras clave predeterminadas.")
449
- return ["naturaleza", "ciudad", "paisaje"]
 
 
 
 
 
 
 
450
 
451
  logger.info(f"Palabras clave finales: {top_keywords}")
452
  return top_keywords
 
399
  logger.info("Extrayendo palabras clave del guion")
400
  if not script_text or not script_text.strip():
401
  logger.warning("Guion vacío, no se pueden extraer palabras clave.")
402
+ return ["mystery", "conspiracy", "alien", "UFO", "secret", "cover-up", "illusion", "paranoia",
403
+ "secret society", "lie", "simulation", "matrix", "terror", "darkness", "shadow", "enigma",
404
+ "urban legend", "unknown", "hidden", "mistrust", "experiment", "government", "control",
405
+ "surveillance", "propaganda", "deception", "whistleblower", "anomaly", "extraterrestrial",
406
+ "shadow government", "cabal", "deep state", "new world order", "mind control", "brainwashing",
407
+ "disinformation", "false flag", "assassin", "black ops", "anomaly", "men in black", "abduction",
408
+ "hybrid", "ancient aliens", "hollow earth", "simulation theory", "alternate reality", "predictive programming",
409
+ "symbolism", "occult", "eerie", "haunting", "unexplained", "forbidden knowledge", "redacted", "conspiracy theorist"]
410
 
411
  clean_text = re.sub(r'[^\w\sáéíóúñÁÉÍÓÚÑ]', '', script_text)
412
  keywords_list = []
 
453
 
454
  if not top_keywords:
455
  logger.warning("El método simple no produjo keywords. Usando palabras clave predeterminadas.")
456
+ return ["mystery", "conspiracy", "alien", "UFO", "secret", "cover-up", "illusion", "paranoia",
457
+ "secret society", "lie", "simulation", "matrix", "terror", "darkness", "shadow", "enigma",
458
+ "urban legend", "unknown", "hidden", "mistrust", "experiment", "government", "control",
459
+ "surveillance", "propaganda", "deception", "whistleblower", "anomaly", "extraterrestrial",
460
+ "shadow government", "cabal", "deep state", "new world order", "mind control", "brainwashing",
461
+ "disinformation", "false flag", "assassin", "black ops", "anomaly", "men in black", "abduction",
462
+ "hybrid", "ancient aliens", "hollow earth", "simulation theory", "alternate reality", "predictive programming",
463
+ "symbolism", "occult", "eerie", "haunting", "unexplained", "forbidden knowledge", "redacted", "conspiracy theorist"]
464
 
465
  logger.info(f"Palabras clave finales: {top_keywords}")
466
  return top_keywords