alozowski HF Staff commited on
Commit
d04e3ba
·
verified ·
1 Parent(s): 3d1ab31

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ Rainbow[[:space:]]Hugging[[:space:]]Face.png filter=lfs diff=lfs merge=lfs -text
Rainbow Hugging Face.png ADDED

Git LFS Details

  • SHA256: 3cf023feef7a5bbcf97889226b0252050b4f7a0af086fd4e2dd83baa560b1376
  • Pointer size: 131 Bytes
  • Size of remote file: 179 kB
generate_csv.py ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Generate a sample CSV file with 10,000 rows for Test 2"""
3
+
4
+ import csv
5
+ import random
6
+ import datetime
7
+ from faker import Faker
8
+
9
+ fake = Faker()
10
+ Faker.seed(42)
11
+ random.seed(42)
12
+
13
+ # Generate 10,000 rows
14
+ rows = 10_000
15
+
16
+ with open('sample_data.csv', 'w', newline='') as csvfile:
17
+ fieldnames = ['id', 'timestamp', 'user_name', 'email', 'country', 'product', 'price', 'quantity', 'total']
18
+ writer = csv.DictWriter(csvfile, fieldnames=fieldnames)
19
+
20
+ writer.writeheader()
21
+
22
+ products = ['Widget A', 'Gadget B', 'Tool C', 'Device D', 'Component E']
23
+
24
+ for i in range(1, rows + 1):
25
+ timestamp = fake.date_time_between(start_date='-1y', end_date='now')
26
+ user = fake.name()
27
+ email = fake.email()
28
+ country = fake.country()
29
+ product = random.choice(products)
30
+ price = round(random.uniform(10, 1000), 2)
31
+ quantity = random.randint(1, 10)
32
+ total = round(price * quantity, 2)
33
+
34
+ writer.writerow({
35
+ 'id': i,
36
+ 'timestamp': timestamp.isoformat(),
37
+ 'user_name': user,
38
+ 'email': email,
39
+ 'country': country,
40
+ 'product': product,
41
+ 'price': price,
42
+ 'quantity': quantity,
43
+ 'total': total
44
+ })
45
+
46
+ print(f"✅ Generated sample_data.csv with {rows:,} rows")
47
+
48
+ # Get file size
49
+ import os
50
+ file_size = os.path.getsize('sample_data.csv')
51
+ print(f" File size: {file_size:,} bytes ({file_size / 1024 / 1024:.2f} MB)")
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio