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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -274,9 +274,7 @@ sys.stdout = Logger("output.log")
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
 
282
  with gr.Blocks() as demo:
 
274
  def read_logs():
275
  sys.stdout.flush()
276
  with open("output.log", "r") as f:
277
+ return f.read()[:25]
 
 
278
 
279
 
280
  with gr.Blocks() as demo: