Explorar o código

Try making Colab happy (tensorflow warnings)

oobabooga %!s(int64=3) %!d(string=hai) anos
pai
achega
40cb9f63f6
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      server.py

+ 3 - 0
server.py

@@ -1072,6 +1072,9 @@ if args.listen:
 else:
     interface.launch(prevent_thread_lock=True, share=args.share, server_port=args.listen_port)
 
+# This is to make Google Colab happy
+encode("Hello world")
+
 # I think that I will need this later
 while True:
     time.sleep(0.5)