no gradio httpx warning when traning
no gradio httpx warning when traning
This commit is contained in:
@@ -13,7 +13,7 @@ import torch
|
|||||||
|
|
||||||
logging.getLogger("numba").setLevel(logging.ERROR)
|
logging.getLogger("numba").setLevel(logging.ERROR)
|
||||||
logging.getLogger("matplotlib").setLevel(logging.ERROR)
|
logging.getLogger("matplotlib").setLevel(logging.ERROR)
|
||||||
|
logging.getLogger("httpx").setLevel(logging.ERROR)
|
||||||
MATPLOTLIB_FLAG = False
|
MATPLOTLIB_FLAG = False
|
||||||
|
|
||||||
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
|
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
|
||||||
|
|||||||
Reference in New Issue
Block a user