Spaces:
Paused
Paused
Disabled upload of log
Browse files- src/logging.py +6 -6
src/logging.py
CHANGED
@@ -19,12 +19,12 @@ class Logger:
|
|
19 |
|
20 |
def read_logs():
|
21 |
sys.stdout.flush()
|
22 |
-
API.upload_file(
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
)
|
28 |
|
29 |
with open("output.log", "r") as f:
|
30 |
return f.read()
|
|
|
19 |
|
20 |
def read_logs():
|
21 |
sys.stdout.flush()
|
22 |
+
# API.upload_file(
|
23 |
+
# path_or_fileobj="output.log",
|
24 |
+
# path_in_repo="backend.log",
|
25 |
+
# repo_id="dicta-hebrew-llm-leaderboard/logs",
|
26 |
+
# repo_type="dataset",
|
27 |
+
# )
|
28 |
|
29 |
with open("output.log", "r") as f:
|
30 |
return f.read()
|