Spaces:
Sleeping
Sleeping
Commit
·
5756752
1
Parent(s):
f286486
Add application file
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ MODEL_ID = 'facebook/convnext-tiny-224' # The base model ID used for training
|
|
| 20 |
MODEL_NAME = "scb10x/typhoon2.5-qwen3-4b" # Typhoon 2.5 Model ID
|
| 21 |
# Fetch Hugging Face Token from Space Secrets
|
| 22 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 23 |
-
API_URL = f"https://
|
| 24 |
|
| 25 |
|
| 26 |
# Load character classes from the file created during training
|
|
|
|
| 20 |
MODEL_NAME = "scb10x/typhoon2.5-qwen3-4b" # Typhoon 2.5 Model ID
|
| 21 |
# Fetch Hugging Face Token from Space Secrets
|
| 22 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 23 |
+
API_URL = f"https://router.huggingface.co/models/{MODEL_NAME}" # <--- แก้ไข URL เป็น router.huggingface.co
|
| 24 |
|
| 25 |
|
| 26 |
# Load character classes from the file created during training
|