caarleexx commited on
Commit
b5dd903
Β·
verified Β·
1 Parent(s): 550e8a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- --
2
  # ╔════════════════════════════════════════════════════════════════════════════╗
3
  # β•‘ PIPELINE v38: DocumentaΓ§Γ£o e RefatoraΓ§Γ£o |
4
  # ======================== RESUMO TΓ‰CNICO DA PIPELINE =============================================================================
@@ -167,7 +167,7 @@ def verificar_stop(texto):
167
  """Verifica se a palavra 'stopp' estΓ‘ presente no output para interromper a pipeline."""
168
  if not texto:
169
  return False
170
- stop_detectado = bool(re.search(r'\bstopp\b', str(texto), re.IGNORECASE))
171
  print(f"πŸ›‘ STOP detectado? {stop_detectado} em '{str(texto)[:100]}...'")
172
  return stop_detectado
173
 
 
1
+
2
  # ╔════════════════════════════════════════════════════════════════════════════╗
3
  # β•‘ PIPELINE v38: DocumentaΓ§Γ£o e RefatoraΓ§Γ£o |
4
  # ======================== RESUMO TΓ‰CNICO DA PIPELINE =============================================================================
 
167
  """Verifica se a palavra 'stopp' estΓ‘ presente no output para interromper a pipeline."""
168
  if not texto:
169
  return False
170
+ stop_detectado = bool(re.search(r'\bSTOP_PIPELINE\b', str(texto), re.IGNORECASE))
171
  print(f"πŸ›‘ STOP detectado? {stop_detectado} em '{str(texto)[:100]}...'")
172
  return stop_detectado
173