mlabonne commited on
Commit
05ca648
·
verified ·
1 Parent(s): fc17cd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -40,6 +40,12 @@ class Logger:
40
  return False
41
 
42
 
 
 
 
 
 
 
43
  def create_dataset() -> bool:
44
  """
45
  Use Scrape Open LLM Leaderboard to create a CSV dataset.
 
40
  return False
41
 
42
 
43
+ def read_logs():
44
+ sys.stdout.flush()
45
+ with open("output.log", "r") as f:
46
+ return f.read()
47
+
48
+
49
  def create_dataset() -> bool:
50
  """
51
  Use Scrape Open LLM Leaderboard to create a CSV dataset.