sunxy преди 1 година
родител
ревизия
d963c385b7
променени са 3 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 0 2
      BertDemo.py
  2. 0 1
      ODPSUtil.py
  3. 5 0
      requirements.txt

+ 0 - 2
BertDemo.py

@@ -4,8 +4,6 @@ from transformers import BertModel, BertTokenizer
 import dashvector
 from dashvector import Doc
 from typing import List
-from pandas import DataFrame
-import pandas as pd
 
 # 阿里云向量数据库连接
 client = dashvector.Client(

+ 0 - 1
ODPSUtil.py

@@ -1 +0,0 @@
-

+ 5 - 0
requirements.txt

@@ -0,0 +1,5 @@
+odps==3.5.1
+transformers==4.34.0
+dashvector==1.0.4
+pandas==1.5.3
+gradio==3.39.0