Try making Colab happy (tensorflow warnings)

This commit is contained in:
oobabooga 2023-02-17 09:23:11 -03:00
parent 71c2764516
commit 40cb9f63f6

View File

@ -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)