r3gm commited on
Commit
327aba7
1 Parent(s): ee453bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -274,8 +274,8 @@ sys.stdout = Logger("output.log")
274
  def read_logs():
275
  sys.stdout.flush()
276
  with open("output.log", "r") as f:
277
- print(f.read(), f.read()[:17])
278
- if f.read()[:17] != "Model was trained":
279
  return f.read()
280
 
281
 
 
274
  def read_logs():
275
  sys.stdout.flush()
276
  with open("output.log", "r") as f:
277
+
278
+ if str(f.read())[:17] != "Model was trained":
279
  return f.read()
280
 
281