Update app.py
Browse files
app.py
CHANGED
@@ -274,6 +274,7 @@ sys.stdout = Logger("output.log")
|
|
274 |
def read_logs():
|
275 |
sys.stdout.flush()
|
276 |
with open("output.log", "r") as f:
|
|
|
277 |
if f.read()[:17] != "Model was trained":
|
278 |
return f.read()
|
279 |
|
|
|
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 |
|