civerson916 commited on
Commit
a5906a8
·
verified ·
1 Parent(s): 7ad7f3d

Update app.py

Browse files

removing / from files path

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -266,7 +266,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
266
  if item.get("task_id") == "99c9cc74-fdc8-46c6-8f8d-3ce2d3bfeea3":
267
  # if item.get("file_name"):
268
  # question_text = f"{question_text} Here is the file: https://agents-course-unit4-scoring.hf.space/files/{item.get('task_id')}"
269
- question_text = f"{question_text} Here is the file: /files/{item.get('task_id')}"
270
  else:
271
  continue
272
  submitted_answer = agent(question_text)
 
266
  if item.get("task_id") == "99c9cc74-fdc8-46c6-8f8d-3ce2d3bfeea3":
267
  # if item.get("file_name"):
268
  # question_text = f"{question_text} Here is the file: https://agents-course-unit4-scoring.hf.space/files/{item.get('task_id')}"
269
+ question_text = f"{question_text} Here is the file: files/{item.get('task_id')}"
270
  else:
271
  continue
272
  submitted_answer = agent(question_text)