MZhaovo commited on
Commit
77dbcc7
·
1 Parent(s): c4727d5

禁用httpx的log输出

Browse files
Files changed (1) hide show
  1. ChuanhuChatbot.py +1 -0
ChuanhuChatbot.py CHANGED
@@ -12,6 +12,7 @@ from modules.presets import *
12
  from modules.overwrites import *
13
  from modules.models.models import get_model
14
 
 
15
 
16
  gr.Chatbot._postprocess_chat_messages = postprocess_chat_messages
17
  gr.Chatbot.postprocess = postprocess
 
12
  from modules.overwrites import *
13
  from modules.models.models import get_model
14
 
15
+ logging.getLogger("httpx").setLevel(logging.WARNING)
16
 
17
  gr.Chatbot._postprocess_chat_messages = postprocess_chat_messages
18
  gr.Chatbot.postprocess = postprocess