Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
|
|
|
| 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}"}
|