Alexandre Gazola commited on
Commit
82fbfc6
·
1 Parent(s): 1d4b77d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -135,10 +135,10 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
135
  print(f"Skipping item with missing task_id or question: {item}")
136
  continue
137
  try:
 
138
  #provisorio
139
  if not file_name:
140
  continue
141
- file_name = item.get("file_name")
142
  question_text_for_agent = question_text
143
  if file_name:
144
  print(f"The following question has attatched file: {question_text[:10]}")
 
135
  print(f"Skipping item with missing task_id or question: {item}")
136
  continue
137
  try:
138
+ file_name = item.get("file_name")
139
  #provisorio
140
  if not file_name:
141
  continue
 
142
  question_text_for_agent = question_text
143
  if file_name:
144
  print(f"The following question has attatched file: {question_text[:10]}")