enemy7 commited on
Commit
674c965
·
1 Parent(s): ea84c99

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -2
main.py CHANGED
@@ -2,7 +2,7 @@
2
  import sys
3
 
4
  class Tee:
5
- def __init__(self, file_name, mode='w'):
6
  self.file = open(file_name, mode)
7
  self.stdout = sys.stdout
8
 
@@ -804,7 +804,10 @@ model.save("spam-model.h5",include_optimizer=True)
804
  import time
805
  print("MODELLLLLLL save ")
806
  os.system('cp log.txt old.txt')
807
- time.wait(99999999)
 
 
 
808
 
809
 
810
 
 
2
  import sys
3
 
4
  class Tee:
5
+ def __init__(self, file_name, mode='a'):
6
  self.file = open(file_name, mode)
7
  self.stdout = sys.stdout
8
 
 
804
  import time
805
  print("MODELLLLLLL save ")
806
  os.system('cp log.txt old.txt')
807
+
808
+ while 1:
809
+ print("waiting")
810
+
811
 
812
 
813