Aurele000 commited on
Commit
ae06350
·
1 Parent(s): a837dfb

ajout de quelques agents / fonctions

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
80
  data = load_data(item)
81
  print("data:", data)
82
  #submitted_answer = response_from_agent(supervisor,question_text + 'The file_name (path) is : ' + filename)
83
- submitted_answer = response_from_agent(f'the question is {question_text}. The attached file is {data}. If it is a .mp3, you have the transcripted text in the attached file. If it is an excel file, you have a dictionnary. If it is a png file, you will have the path to the file.')
84
 
85
  print('submitted_answer:', submitted_answer)
86
  answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})
 
80
  data = load_data(item)
81
  print("data:", data)
82
  #submitted_answer = response_from_agent(supervisor,question_text + 'The file_name (path) is : ' + filename)
83
+ submitted_answer = response_from_agent(supervisor, 'the question is {question_text}. The attached file is {data}. If it is a .mp3, you have the transcripted text in the attached file. If it is an excel file, you have a dictionnary. If it is a png file, you will have the path to the file.')
84
 
85
  print('submitted_answer:', submitted_answer)
86
  answers_payload.append({"task_id": task_id, "submitted_answer": submitted_answer})