Spaces:
Sleeping
Sleeping
Akshatha Arodi
commited on
Commit
·
eaf38ad
1
Parent(s):
9487681
Add timestamp and username
Browse files
app.py
CHANGED
@@ -156,8 +156,6 @@ def detect_with_model(image: Image.Image, prompt: str, username: str, model_name
|
|
156 |
image_filename = f"{image_id}.jpg"
|
157 |
image_path = os.path.join(image_dir, image_filename)
|
158 |
image.save(image_path)
|
159 |
-
current_time =
|
160 |
-
|
161 |
|
162 |
csv_path = os.path.join("test", "leaderboard_entries.csv")
|
163 |
header = "file_name,prompt,label,model,split,user,timestamp\n"
|
|
|
156 |
image_filename = f"{image_id}.jpg"
|
157 |
image_path = os.path.join(image_dir, image_filename)
|
158 |
image.save(image_path)
|
|
|
|
|
159 |
|
160 |
csv_path = os.path.join("test", "leaderboard_entries.csv")
|
161 |
header = "file_name,prompt,label,model,split,user,timestamp\n"
|