civerson916 commited on
Commit
2c80b73
·
verified ·
1 Parent(s): 99c17e6

Update app.py

Browse files

instruction to add file extension

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -264,7 +264,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
264
  # check if the file_name is not empty
265
  if item.get("file_name"):
266
  # question_text = f"{question_text} Here is the file: https://agents-course-unit4-scoring.hf.space/files/{item.get('task_id')}"
267
- question_text = f"{question_text} Here is the file: files/{item.get('task_id')}"
268
  # else:
269
  # continue
270
  submitted_answer = agent(question_text)
 
264
  # check if the file_name is not empty
265
  if item.get("file_name"):
266
  # question_text = f"{question_text} Here is the file: https://agents-course-unit4-scoring.hf.space/files/{item.get('task_id')}"
267
+ question_text = f"{question_text} Here is the file (the file extension must be added): files/{item.get('task_id')}"
268
  # else:
269
  # continue
270
  submitted_answer = agent(question_text)