Spaces:
Sleeping
Sleeping
added the loading attached file to the question
Browse files
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\
|
| 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}")
|