Update kousei.py
Browse files
kousei.py
CHANGED
|
@@ -17,7 +17,7 @@ import tempfile
|
|
| 17 |
import os
|
| 18 |
import re
|
| 19 |
def kousei2(csv_file, input_text):
|
| 20 |
-
prompt_text = "#Instructions\n" input_text +" If there is no problem, please reply 'OK
|
| 21 |
# CSVファイルを読み込む
|
| 22 |
df = pd.read_csv(csv_file).head(20)
|
| 23 |
# 'id'列のデータ型を文字列に変換
|
|
|
|
| 17 |
import os
|
| 18 |
import re
|
| 19 |
def kousei2(csv_file, input_text):
|
| 20 |
+
prompt_text = "#Instructions\n" + input_text +" If there is no problem, please reply 'OK'.\n #Target sentence\n"
|
| 21 |
# CSVファイルを読み込む
|
| 22 |
df = pd.read_csv(csv_file).head(20)
|
| 23 |
# 'id'列のデータ型を文字列に変換
|