Paul720810 commited on
Commit
8e09580
·
verified ·
1 Parent(s): 63d4932

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -143,7 +143,8 @@ class TextToSQLSystem:
143
  """呼叫 Hugging Face Inference API"""
144
  # === 修正開始 ===
145
  # 確保 API_URL 是一個乾淨的字串,不包含任何 Markdown "[ ]" 或其他特殊字元
146
- API_URL = "https://api-inference.huggingface.co/models/mistralai/Mixtral-8x7B-Instruct-v0.1"
 
147
  # === 修正結束 ===
148
 
149
  headers = {"Authorization": f"Bearer {HF_TOKEN}"}
 
143
  """呼叫 Hugging Face Inference API"""
144
  # === 修正開始 ===
145
  # 確保 API_URL 是一個乾淨的字串,不包含任何 Markdown "[ ]" 或其他特殊字元
146
+ API_URL = "https://api-inference.huggingface.co/models/mistralai/Mistral-7B-Instruct-v0.2"
147
+
148
  # === 修正結束 ===
149
 
150
  headers = {"Authorization": f"Bearer {HF_TOKEN}"}