Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -6,7 +6,7 @@ from pythainlp.util import normalize
|
|
| 6 |
|
| 7 |
# โหลดสมอง AI (ภาษาไทย)
|
| 8 |
print("Downloading Model...")
|
| 9 |
-
classifier = pipeline("text-classification", model="
|
| 10 |
|
| 11 |
app = FastAPI()
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
# โหลดสมอง AI (ภาษาไทย)
|
| 8 |
print("Downloading Model...")
|
| 9 |
+
classifier = pipeline("text-classification", model="SandboxBhh/sentiment-thai-text-model", tokenizer="SandboxBhh/sentiment-thai-text-model")
|
| 10 |
|
| 11 |
app = FastAPI()
|
| 12 |
|