backzone1 commited on
Commit
f62de15
·
1 Parent(s): 8eb065c

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ pipe = pipeline("text2text-generation", model="google/flan-t5-base")
6
 
7
  # ฟังก์ชันประมวลผลข้อความ
8
  def extract_fields(msg):
9
- prompt = f"""[INST] Extract structured data from the following message using this form:
10
  - วันที่ขึ้นของ
11
  - วันที่ส่งของ
12
  - ต้นทาง
 
6
 
7
  # ฟังก์ชันประมวลผลข้อความ
8
  def extract_fields(msg):
9
+ prompt = f"""กรุณาสรุปข้อมูลจากข้อความด้านล่าง แล้วแสดงผลเป็นรายการ
10
  - วันที่ขึ้นของ
11
  - วันที่ส่งของ
12
  - ต้นทาง