Explorar el Código

modify: 禁止图片弹出显示

yq hace 4 meses
padre
commit
dd7874d052
Se han modificado 3 ficheros con 13 adiciones y 0 borrados
  1. 1 0
      .gitignore
  2. 3 0
      init/__init__.py
  3. 9 0
      requirements-py310.txt

+ 1 - 0
.gitignore

@@ -63,3 +63,4 @@ target/
 */image
 */~$*
 *.ipynb
+/flagged

+ 3 - 0
init/__init__.py

@@ -7,6 +7,9 @@
 
 import os
 
+import matplotlib
+matplotlib.use('Agg')
+
 import matplotlib.pyplot as plt
 
 from commom import f_get_datetime

+ 9 - 0
requirements-py310.txt

@@ -0,0 +1,9 @@
+pymysql==1.0.2
+python-docx==0.8.11
+xlrd==1.2.0
+scorecardpy==0.1.9.7
+toad==0.1.4
+dataframe_image==0.1.14
+gradio==3.0.12
+matplotlib==3.9.3
+scikit-learn==1.1.3