GattoNero commited on
Commit
013ac54
·
verified ·
1 Parent(s): 85e3677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ from llama_index.llms.openai import OpenAI
16
 
17
  NUMERO_DOMANDE_TOTALE = 1
18
 
19
- set_global_handler("DEBUG") # Oppure "INFO" se vuoi meno verbosità
20
- logging.getLogger().setLevel(logging.DEBUG)
21
 
22
  class BasicAgent:
23
  def __init__(self):
 
16
 
17
  NUMERO_DOMANDE_TOTALE = 1
18
 
19
+ set_global_handler("simple") # imposta un handler semplice per il logging
20
+ logging.getLogger().setLevel(logging.DEBUG) # imposta il livello di log a DEBUG
21
 
22
  class BasicAgent:
23
  def __init__(self):