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

Add application file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # โหลดโมเดล
5
- pipe = pipeline("text2text-generation", model="google/flan-t5-base")
6
 
7
  # ฟังก์ชันประมวลผลข้อความ
8
  def extract_fields(msg):
 
2
  from transformers import pipeline
3
 
4
  # โหลดโมเดล
5
+ pipe = pipeline("text2text-generation", model="google/mt5-base")
6
 
7
  # ฟังก์ชันประมวลผลข้อความ
8
  def extract_fields(msg):