Jelajahi Sumber

注释掉from script_score.lstm_network import SentimentNet
在main.py里面已经导入了

liyuyi@c-top.com.cn 3 tahun lalu
induk
melakukan
0463ab8969
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      script_score/evaluate_script.py

+ 1 - 1
script_score/evaluate_script.py

@@ -32,7 +32,7 @@ curr_path = os.path.abspath(os.path.dirname(__file__))
 project_root_path = curr_path[:curr_path.find("video_to_word") + len("video_to_word")]
 sys.path.append(project_root_path)
 
-from script_score.lstm_network import SentimentNet
+# from script_score.lstm_network import SentimentNet
 from config.url_and_db import toutiao_static_video_url, ai_word_engine
 
 random_num = random.random()