Update
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ else:
|
|
| 14 |
ds = load_dataset("Elfsong/leetcode_data", split='train')
|
| 15 |
df = pd.DataFrame(
|
| 16 |
{
|
| 17 |
-
"problem_id": [
|
| 18 |
"dynamic_point": [[random.randint(0, 5000) for _ in range(30)] for problem in ds],
|
| 19 |
}
|
| 20 |
)
|
|
|
|
| 14 |
ds = load_dataset("Elfsong/leetcode_data", split='train')
|
| 15 |
df = pd.DataFrame(
|
| 16 |
{
|
| 17 |
+
"problem_id": ["https://huggingface.co/spaces/Elfsong/CodeArena/?problem=" + problem['problem_id'] for problem in ds],
|
| 18 |
"dynamic_point": [[random.randint(0, 5000) for _ in range(30)] for problem in ds],
|
| 19 |
}
|
| 20 |
)
|