RCaz commited on
Commit
0cbbf63
·
verified ·
1 Parent(s): 982aacc

added the loading attached file to the question

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
72
  # add fetching the link associated with the question
73
  file_name = item.get("file_name")
74
  if file_name:
75
- question_text = question_text + "\n\nProvided file path: " + DEFAULT_API_URL + "/" + file_name
76
  # end insertion
77
  if not task_id or question_text is None:
78
  print(f"Skipping item with missing task_id or question: {item}")
 
72
  # add fetching the link associated with the question
73
  file_name = item.get("file_name")
74
  if file_name:
75
+ question_text = question_text + f"\n\n you can download the provided file with download_and_get_path_for_provided_file({file_name}), the function will return the path to the cached file to process with a different tool"
76
  # end insertion
77
  if not task_id or question_text is None:
78
  print(f"Skipping item with missing task_id or question: {item}")