Spaces:
Runtime error
Runtime error
Commit
·
75812ad
1
Parent(s):
3259410
first commit
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ whoops = load_dataset("nlphuji/whoops")['test']
|
|
6 |
BUCKET_PATH = 'https://wmtis.s3.eu-west-1.amazonaws.com/wmtis_images'
|
7 |
|
8 |
df = whoops.to_pandas()
|
|
|
9 |
def get_image_url(img_id):
|
10 |
return f"{BUCKET_PATH}/{img_id}.png"
|
11 |
|
|
|
6 |
BUCKET_PATH = 'https://wmtis.s3.eu-west-1.amazonaws.com/wmtis_images'
|
7 |
|
8 |
df = whoops.to_pandas()
|
9 |
+
df = df.sample(frac=1)
|
10 |
def get_image_url(img_id):
|
11 |
return f"{BUCKET_PATH}/{img_id}.png"
|
12 |
|