backzone1 commited on
Commit
24ec98d
·
1 Parent(s): 12805f9

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("text-generation", model="openchat/openchat_3.5")
6
 
7
  # ฟังก์ชันประมวลผลข้อความ
8
  def extract_fields(msg):
 
2
  from transformers import pipeline
3
 
4
  # โหลดโมเดล
5
+ pipe = pipeline("text-generation", model="deepseek-ai/DeepSeek-R1-0528", trust_remote_code=True)
6
 
7
  # ฟังก์ชันประมวลผลข้อความ
8
  def extract_fields(msg):