mrbui1990 commited on
Commit
f3eab86
·
verified ·
1 Parent(s): 89320e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ model = AutoModelForCausalLM.from_pretrained(
14
  )
15
 
16
  # Thêm một ô system_prompt
 
17
  def chat_with_model(prompt, system_prompt):
18
 
19
  # 1. Tạo danh sách messages theo chuẩn ChatML
 
14
  )
15
 
16
  # Thêm một ô system_prompt
17
+ @spaces.GPU
18
  def chat_with_model(prompt, system_prompt):
19
 
20
  # 1. Tạo danh sách messages theo chuẩn ChatML