Spaces:
Running
Running
phyloforfun
commited on
Commit
•
5091b7c
1
Parent(s):
6e0a9ba
updates
Browse files
vouchervision/utils_hf.py
CHANGED
@@ -158,7 +158,7 @@ def report_violation(file_name, is_hf=True):
|
|
158 |
content = {
|
159 |
'violation_time': current_time,
|
160 |
'notes': 'This is an autogenerated violation report.',
|
161 |
-
'name_of_file':
|
162 |
}
|
163 |
# Write the content to the temporary YAML file in text mode
|
164 |
yaml.dump(content, temp_file, default_flow_style=False)
|
|
|
158 |
content = {
|
159 |
'violation_time': current_time,
|
160 |
'notes': 'This is an autogenerated violation report.',
|
161 |
+
'name_of_file': file_name,
|
162 |
}
|
163 |
# Write the content to the temporary YAML file in text mode
|
164 |
yaml.dump(content, temp_file, default_flow_style=False)
|