GattoNero commited on
Commit
85986f1
·
verified ·
1 Parent(s): b3cdd67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,7 +72,7 @@ class BasicAgent:
72
  '''
73
 
74
 
75
- def __call__(self, question: str, file_name: str) -> str:
76
  print_coso(f"Received question: {question[:100]}")
77
 
78
  # Prova a decodificare JSON
@@ -111,7 +111,7 @@ class BasicAgent:
111
  return self._ask_gpt4o(text_content)
112
 
113
 
114
- print("coso nessun file allegato")
115
  # Altrimenti gestisci solo testo
116
  return self._ask_gpt4o(text)
117
 
 
72
  '''
73
 
74
 
75
+ def __call__(self, question: str, file_info: str = "") -> str:
76
  print_coso(f"Received question: {question[:100]}")
77
 
78
  # Prova a decodificare JSON
 
111
  return self._ask_gpt4o(text_content)
112
 
113
 
114
+ print_coso("nessun file allegato")
115
  # Altrimenti gestisci solo testo
116
  return self._ask_gpt4o(text)
117