huggingface / huggingface/agents-course

[HANDS-ON BUG] Unable to download files

Open
#624 11 comments 2 reactions 0 assignees View on GitHub
hands-on-bug
Dominant language
MDX
Stars
32.6k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Whenever I try to download a file I get a 404

**To Reproduce**
```
url = "https://agents-course-unit4-scoring.hf.space"
requests.get(f"{url}/files/cca530fc-4052-43b2-b130-b30968d8aa44")
# This task should contains a .png
# {'task_id': 'cca530fc-4052-43b2-b130-b30968d8aa44', 'question': "Review the chess position provided in the image. It is black's turn. Provide the correct next move for black which guarantees a win. Please provide your response in algebraic notation.", 'Level': '1', 'file_name': 'cca530fc-4052-43b2-b130-b30968d8aa44.png'}
```

[https://agents-course-unit4-scoring.hf.space/files/cca530fc-4052-43b2-b130-b30968d8aa44](url)

**Additional context**
The endpoint /questions is working, it's just this one that seems missing

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.